diff options
-rw-r--r-- | ranger/defaults/keys.py | 7 | ||||
-rw-r--r-- | ranger/help/movement.py | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py index a6d7eea6..1cfec391 100644 --- a/ranger/defaults/keys.py +++ b/ranger/defaults/keys.py @@ -162,18 +162,20 @@ map('T', fm.tag_remove()) map(' ', fm.mark(toggle=True)) map('v', fm.mark(all=True, toggle=True)) -map('V', fm.mark(all=True, val=False)) +map('V', 'uv', fm.mark(all=True, val=False)) # ------------------------------------------ file system operations map('yy', 'y<dir>', fm.copy()) map('dd', 'd<dir>', fm.cut()) -map('ud', fm.uncut()) map('pp', fm.paste()) map('po', fm.paste(overwrite=True)) map('pl', fm.paste_symlink()) map('p<bg>', fm.hint('press *p* once again to confirm pasting' \ ', or *l* to create symlinks')) +map('u<bg>', fm.hint("un*y*ank, unbook*m*ark, unselect:*v*")) +map('ud', 'uy', fm.uncut()) + # ---------------------------------------------------- run programs map('S', fm.execute_command(os.environ['SHELL'])) map('E', fm.edit_file()) @@ -274,6 +276,7 @@ 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?")) # ---------------------------------------------------- change views map('i', fm.display_file()) diff --git a/ranger/help/movement.py b/ranger/help/movement.py index 8a4c155a..6e3ad3e1 100644 --- a/ranger/help/movement.py +++ b/ranger/help/movement.py @@ -83,6 +83,7 @@ This keys can be used to make movements beyond the current directory ^L redraw the window : open the console |3?| z toggle options + u undo certain things (unyank, unmark,...) i inspect the content of the file E edit the file |