diff options
author | hut <hut@lavabit.com> | 2010-10-10 00:22:29 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-10-10 00:22:29 +0200 |
commit | ef8b570c868cfc86e700eb0fe2697d594f57c639 (patch) | |
tree | 29ae3742cf82b8f241c74a0a45e8f1cb0b72f109 /ranger | |
parent | 5dd47a49105067127b0cc8bb99431af7028f5ade (diff) | |
download | ranger-ef8b570c868cfc86e700eb0fe2697d594f57c639.tar.gz |
defaults.keys: show bookmarks when typing "um"
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/defaults/keys.py | 3 |
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()) |