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 02:55:34 +0200
commit5dbaad4db675802d6021cfdcb176b3ad10451e3b (patch)
treedda5edafac4a1a8b3ad6407a84d8db8980eac470
parent358a934500f439fb6fa05d4cadb0a6995fd91b8b (diff)
downloadranger-5dbaad4db675802d6021cfdcb176b3ad10451e3b.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 9f0c78cb..e9ac4bde 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())