summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-30 03:03:54 +0200
committerhut <hut@lavabit.com>2010-04-30 03:03:54 +0200
commitf61895d31e9ef4871be93d91a0bc3dfd6a121cab (patch)
tree819d94d456e2de671824fa5c4395aff9e94db243 /ranger
parentd9c06cf4b542d321d99ce1c8135417fa845d357b (diff)
downloadranger-f61895d31e9ef4871be93d91a0bc3dfd6a121cab.tar.gz
extended and documented u* key combinations
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/keys.py7
-rw-r--r--ranger/help/movement.py1
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