aboutsummaryrefslogtreecommitdiff
path: root/.config/ranger
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2019-04-18 01:53:20 -0400
committertdro <tdro@users.noreply.github.com>2019-04-18 01:53:20 -0400
commite62d1a096abbe2155993b72c7df9952f31421d3e (patch)
tree9f81149275303774a9e961430d084a3e66bd1c05 /.config/ranger
parent2beacfa127c177accdfb6232e9dc5bb63b63e305 (diff)
downloaddotfiles-e62d1a096abbe2155993b72c7df9952f31421d3e.tar.gz
dotfiles-e62d1a096abbe2155993b72c7df9952f31421d3e.tar.bz2
dotfiles-e62d1a096abbe2155993b72c7df9952f31421d3e.zip
.config/ranger/rc.conf: New keybindings
Diffstat (limited to '.config/ranger')
-rw-r--r--.config/ranger/rc.conf23
1 files changed, 15 insertions, 8 deletions
diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf
index 73e3b88..efd82f9 100644
--- a/.config/ranger/rc.conf
+++ b/.config/ranger/rc.conf
@@ -2,9 +2,17 @@
set preview_images true
set preview_images_method urxvt
+# Allow bulk rename
+map cw eval fm.execute_console("bulkrename") if fm.thisdir.marked_items else fm.open_console("rename ")
+
+# Filter on find
+map f console scout -ftsea%space
+
+# Sort by last modified
+set sort=ctime
# Open terminal in current directory
-map e. shell urxvt &
+map ,. shell urxvt &
# Image tools
map ei shell bash ~/.config/ranger/scripts/imgtools '%s'
@@ -15,22 +23,21 @@ map ep shell bash ~/.config/ranger/scripts/pdftools '%s'
# Raname Tools
map er shell bash ~/.config/ranger/scripts/rntools %s
-# Compare with meld
-map ec shell meld %s &
-
-# Sublime text
-map es shell subl3 %s &
+# Fuzzy directory search
+map ed fzm_select
-# Fuzzy file search
+# Fuzzy directory search
map ef shell fzf
+# pngquant
+map eg shell pngquant --ext .png -f %s
+
# Current directory file usage
map eu shell ncdu -x .
# Go to Trash Directory
map et cd ~/.local/share/Trash/files
-
# Move files to trash
map dd shell bash -c "touch %s; mv -t ~/.local/share/Trash/files %s"