diff options
-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()) |