Minor: add vifm and bash shortcuts
This commit is contained in:
parent
6bb267dd8d
commit
254f12fac6
|
@ -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'
|
||||
|
||||
|
||||
# ===================================================================
|
||||
|
|
|
@ -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)'
|
||||
|
||||
" ===================================================================
|
||||
|
|
Loading…
Reference in a new issue