diff --git a/bash/.bash_aliases b/bash/.bash_aliases index 639f6f2..9703ea9 100644 --- a/bash/.bash_aliases +++ b/bash/.bash_aliases @@ -30,6 +30,7 @@ alias ed="ed -p '> :'" alias ra='rg --no-ignore -.' alias ee='exit' alias ffprobe='ffprobe -hide_banner' +alias shm='cd /dev/shm' # =================================================================== diff --git a/vifm/vifmrc b/vifm/vifmrc index 6b66125..9a967e4 100644 --- a/vifm/vifmrc +++ b/vifm/vifmrc @@ -152,6 +152,9 @@ nnoremap m :sync %d nnoremap orestore :!git restore %c nnoremap oadd :!git add %c + " Make and navigate to a directory in the other pane +command! cddir :sync! | exe 'wincmd w' | mkdir "%d/%a" | cd "%d/%a" | exe 'wincmd w' + "command! pngcopy :!osascript -e 'set the clipboard to (read (POSIX file "'.%c.'") as PNG picture)' " ===================================================================