summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-10-02 00:10:33 +0200
committertoonn <toonn@toonn.io>2019-10-02 21:01:47 +0200
commitd674b457082ac878e525e63549ad0d7500bcb0b3 (patch)
tree9364a1cd450ec82a00126d44ceb24e9e8ce6f642
parent23440660291c236eb374e2d72406c1f35f026289 (diff)
downloadranger-d674b457082ac878e525e63549ad0d7500bcb0b3.tar.gz
Fix cunmap
`cunmap` was broken and nobody noticed. It unmapped bindings in the
`browser` context, so it was basically an alias for `unmap`.
-rwxr-xr-xranger/config/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py
index 404a1edb..e14f0818 100755
--- a/ranger/config/commands.py
+++ b/ranger/config/commands.py
@@ -1326,7 +1326,7 @@ class cunmap(unmap):
 
     Remove the given "console" mappings
     """
-    context = 'browser'
+    context = 'console'
 
 
 class punmap(unmap):