summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-10 00:22:29 +0200
committerhut <hut@lavabit.com>2010-10-10 00:22:29 +0200
commitef8b570c868cfc86e700eb0fe2697d594f57c639 (patch)
tree29ae3742cf82b8f241c74a0a45e8f1cb0b72f109
parent5dd47a49105067127b0cc8bb99431af7028f5ade (diff)
downloadranger-ef8b570c868cfc86e700eb0fe2697d594f57c639.tar.gz
defaults.keys: show bookmarks when typing "um"
-rw-r--r--ranger/defaults/keys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index e62ae9ae..21a170f7 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -285,7 +285,8 @@ for key in ALLOWED_BOOKMARK_KEYS:
 	map("m" + key, fm.set_bookmark(key))
 	map("um" + key, fm.unset_bookmark(key))
 map("`<bg>", "'<bg>", "m<bg>", fm.draw_bookmarks())
-map('um<bg>', fm.hint("delete which bookmark?"))
+map('um<bg>', lambda arg: (arg.fm.draw_bookmarks(),
+	arg.fm.hint("delete which bookmark?")))
 
 # ---------------------------------------------------- change views
 map('i', fm.display_file())