From 5dbaad4db675802d6021cfdcb176b3ad10451e3b Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 10 Oct 2010 00:22:29 +0200 Subject: defaults.keys: show bookmarks when typing "um" --- ranger/defaults/keys.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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("`", "'", "m", fm.draw_bookmarks()) -map('um', fm.hint("delete which bookmark?")) +map('um', lambda arg: (arg.fm.draw_bookmarks(), + arg.fm.hint("delete which bookmark?"))) # ---------------------------------------------------- change views map('i', fm.display_file()) -- cgit 1.4.1-2-gfad0 /select> mirror of ranger - a simple, vim-like file managerakspecs <akspecs@tilde.institute>
about summary refs log tree commit diff stats