diff options
author | hut <hut@lavabit.com> | 2010-04-06 01:29:27 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-06 01:29:27 +0200 |
commit | 85a9a41ebf4092e33cb1d176b94d427c01a10e32 (patch) | |
tree | 6a9ba71a849d5f25493de83190531b3cf5a4a6a0 /ranger | |
parent | 227f75db399276f6395469937e60a96db45f8089 (diff) | |
download | ranger-85a9a41ebf4092e33cb1d176b94d427c01a10e32.tar.gz |
updated keybindings and documentation
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/defaults/keys.py | 6 | ||||
-rw-r--r-- | ranger/help/movement.py | 20 |
2 files changed, 20 insertions, 6 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py index 6628e064..9be42a78 100644 --- a/ranger/defaults/keys.py +++ b/ranger/defaults/keys.py @@ -168,8 +168,8 @@ def initialize_commands(map): # ------------------------------------------------------------ tabs map('gc', ctrl('W'), fm.tab_close()) - map('gt', fm.tab_move(1)) - map('gT', fm.tab_move(-1)) + map('gt', TAB, fm.tab_move(1)) + map('gT', KEY_BTAB, fm.tab_move(-1)) for n in range(10): map('g' + str(n), fm.tab_open(n)) @@ -179,7 +179,7 @@ def initialize_commands(map): map('n', fm.search()) map('N', fm.search(forward=False)) - map(TAB, fm.search(order='tag')) + map('ct', fm.search(order='tag')) map('cc', fm.search(order='ctime')) map('cm', fm.search(order='mimetype')) map('cs', fm.search(order='size')) diff --git a/ranger/help/movement.py b/ranger/help/movement.py index a0407838..e9dd6fad 100644 --- a/ranger/help/movement.py +++ b/ranger/help/movement.py @@ -21,7 +21,8 @@ 1.3. Searching 1.4. Cycling 1.5. Bookmarks -1.6. Mouse usage +1.6. Tabs +1.7. Mouse usage ============================================================================== @@ -102,7 +103,7 @@ visible files. Pressing "n" will move you to the next occurance, "N" to the previous one. You can search for more than just strings: - TAB search tagged files + ct search tagged files cc cycle through all files by their ctime (last modification) cm cycle by mime type, connecting similar files cs cycle by size, large items first @@ -134,7 +135,20 @@ Note: The ' key is equivalent to `. ============================================================================== -1.6. Mouse usage +1.6. Tabs + +Tabs are used to work in different directories in the same Ranger instance. +In Ranger, tabs are very simple though and only store the directory path. + + gt Go to the next tab. (also TAB) + gT Go to the previous tab. (also Shift+TAB) + g<N> Open a tab. N has to be a number from 0 to 9. + If the tab doesn't exist yet, it will be created. + gc, ^W Close the current tab. The last tab cannot be closed. + + +============================================================================== +1.7. Mouse usage The mouse can be used to quickly enter directories which you point at, or to scroll around with the mouse wheel. The implementation of the mouse |