My zsh configuration
git clone https://github.com/m-col/zshrc
Files | Refs | Readme

Commit 806413d63219c548a270fddacabe6e335ee4a35e
Parent: 1a20497a4049b514d48521055ee60ca7b4d4bd63
Author: mcol <mcol@posteo.net>
Date: 2020-07-28 20:43:33 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2020-07-28 20:43:33 +0100

update ranger

rc.conf Modified

@@ -85,7 +85,7 @@
 # * urxvt-full:
 #   The same as urxvt but utilizing not only the preview pane but the
 #   whole terminal window.
-set preview_images_method w3m
+set preview_images_method ueberzug
 
 # Use a unicode "..." character to mark cut-off filenames?
 set unicode_ellipsis true
@@ -614,13 +614,15 @@
 map r3 shell mogrify -rotate 270 %s
 
 # drag files
-map <C-d> shell dragon-drag-and-drop -a -x %p &> /dev/null &
+#map <C-d> shell dragon-drag-and-drop -a -x %p &> /dev/null &
+map <C-d> shell cp %s /tmp/%s && dragon-drag-and-drop -a -x /tmp/%s &> /dev/null &
 
 # filter while finding
 map f console scout -ftsea%space
 
-# open split in tmux
-map L eval import shlex; fm.run("tmux splitw -h rifle " + shlex.quote(fm.thisfile.basename))
+# open file in split
+map " eval import shlex; fm.run("tmux splitw -v rifle " + shlex.quote(fm.thisfile.basename))
+map | eval import shlex; fm.run("tmux splitw -h rifle " + shlex.quote(fm.thisfile.basename))
 
 # shortcuts
 map gh cd ~
@@ -634,7 +636,6 @@
 map gS cd /etc/systemd/system
 
 map gg cd ~/git
-map gC cd ~/git/custom-packages
 map gu cd ~/.cache/aurutils/sync
 
 map gc cd ~/.config
@@ -644,7 +645,7 @@
 map gP cd ~/pictures
 map gw cd ~/work
 map ga cd ~/work/analysis
-map gp cd ~/work/phd/papers/pdfs
+map gp cd ~/git/phd/papers/pdfs
 map gf cd ~/work/analysis/Figures
 map gW cd ~/work/research/research.wiki
 map gr cd ~/work/analysis/rochefort-tools
@@ -667,3 +668,6 @@
 map bl shell git pull | less -r
 map bt shell tig
 map bg shell gita add $(git rev-parse --show-toplevel) | less
+# a plugin that adds file glyphs / icon support to Ranger:
+# https://github.com/alexanderjeurissen/ranger_devicons
+default_linemode devicons