Minor: add vifm and bash shortcuts

This commit is contained in:
Akemi Izuko 2022-11-27 22:50:58 -07:00
parent 6bb267dd8d
commit 254f12fac6
No known key found for this signature in database
GPG key ID: 905D444F6A5E4BE4
2 changed files with 4 additions and 0 deletions

View file

@ -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'
# ===================================================================

View file

@ -152,6 +152,9 @@ nnoremap <space>m :sync %d<cr><space>
nnoremap <space>orestore :!git restore %c<cr>
nnoremap <space>oadd :!git add %c<cr>
" 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)'
" ===================================================================