aboutsummaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
Diffstat (limited to '.config/ranger')
-rw-r--r--.config/ranger/rc.conf5
-rw-r--r--.config/ranger/rifle.conf3
2 files changed, 7 insertions, 1 deletions
diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf
index 20f9ea3..d8a94ac 100644
--- a/.config/ranger/rc.conf
+++ b/.config/ranger/rc.conf
@@ -210,6 +210,7 @@ map ; console
map ! console shell
map @ console -p6 shell %%s
map # console shell -p
+map l console shell -p
map s console shell
map r chain draw_possible_programs; console open_with
map f console find
@@ -340,7 +341,9 @@ map cm search_next order=mtime
map ca search_next order=atime
# Tabs
-map <C-n> tab_new ~
+map <C-t> tab_new ~
+map <C-n> tab_move 1
+map <C-p> tab_move -1
map <C-w> tab_close
map <TAB> tab_move 1
map <S-TAB> tab_move -1
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index e7fed6b..d3c9388 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -161,12 +161,15 @@ ext djvu, has evince, X, flag f = evince -- "$@"
# Archives
#-------------------------------------------
# This requires atool
+ext cbr|cbz, has mcomix, X, flag f = mcomix -- "$@"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has als = als -- "$@" | "$PAGER"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has als = als -- "$@" | "$PAGER"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has aunpack = aunpack -- "$@"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has aunpack = aunpack -- "$@"
ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has engrampa, X, flag f = engrampa -- "$@"
ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has engrampa, X, flag f = engrampa -- "$@"
+ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has mcomix, X, flag f = mcomix -- "$@"
+ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has mcomix, X, flag f = mcomix -- "$@"
# Fallback:
ext tar|gz, has tar = tar vvtf "$@" | "$PAGER"