Minor: add vifm and bash shortcuts

This commit is contained in:
Akemi Izuko 2023-12-23 20:14:03 -07:00
parent 5f850e0a53
commit fab9eecfa5
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC
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)'
" ===================================================================