summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorMarcel Partap <mpartap@gmx.net>2016-01-26 17:15:48 +0100
committernfnty <git@nfnty.se>2017-02-03 01:53:19 +0100
commit2564a3606619ea1a343e65bf92a1c9e5b34e5537 (patch)
tree711c4ce8c44e504ff90309d89a1d0c471b473c2a /ranger
parentbc1bea000aa785f6b2432589a698f73ea739faa5 (diff)
downloadranger-2564a3606619ea1a343e65bf92a1c9e5b34e5537.tar.gz
config/rc.conf: Minor changes
Add mapping for changing directory to `/tmp`.
Open new tab in CWD by default.
Add mapping copy `zz` from `zf` for quicker filtering.

Closes #788
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/rc.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index e3cff565..26879a65 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -349,6 +349,7 @@ map gv cd /var
 map gm cd /media
 map gM cd /mnt
 map gs cd /srv
+map gt cd /tmp
 map gr cd /
 map gR eval fm.cd(ranger.RANGERDIR)
 map g/ cd /
@@ -416,7 +417,7 @@ map cm search_next order=mtime
 map ca search_next order=atime
 
 # Tabs
-map <C-n>     tab_new ~
+map <C-n>     tab_new .
 map <C-w>     tab_close
 map <TAB>     tab_move 1
 map <S-TAB>   tab_move -1
@@ -474,6 +475,7 @@ map zs    set sort_case_insensitive!
 map zu    set autoupdate_cumulative_size!
 map zv    set use_preview_script!
 map zf    console filter%space
+copymap zf zz
 
 # Bookmarks
 map `<any>  enter_bookmark %any