Minor: add vifm and bash shortcuts
This commit is contained in:
parent
5f850e0a53
commit
fab9eecfa5
2 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@ alias ed="ed -p '> :'"
|
||||||
alias ra='rg --no-ignore -.'
|
alias ra='rg --no-ignore -.'
|
||||||
alias ee='exit'
|
alias ee='exit'
|
||||||
alias ffprobe='ffprobe -hide_banner'
|
alias ffprobe='ffprobe -hide_banner'
|
||||||
|
alias shm='cd /dev/shm'
|
||||||
|
|
||||||
|
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
|
|
@ -152,6 +152,9 @@ nnoremap <space>m :sync %d<cr><space>
|
||||||
nnoremap <space>orestore :!git restore %c<cr>
|
nnoremap <space>orestore :!git restore %c<cr>
|
||||||
nnoremap <space>oadd :!git add %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)'
|
"command! pngcopy :!osascript -e 'set the clipboard to (read (POSIX file "'.%c.'") as PNG picture)'
|
||||||
|
|
||||||
" ===================================================================
|
" ===================================================================
|
||||||
|
|
Loading…
Reference in a new issue