" vim:ft=vim " Editing / Do something with the files nnoremap cd :cd nnoremap cD :diff vnoremap cD :diff " start shell nmap S :shell " Display sorting dialog nnoremap s :sort " preview window " Toggle visibility of preview window nnoremap w :view vnoremap w :viewgv " panel resize nnoremap < 5< nnoremap > 5> " tabs nnoremap :tabnew " drag and drop nmap :dragon vmap :dragon " Yank current directory path into the clipboard nnoremap yd :!echo -n %d | wl-copy %i:echo expand('%"d') "is yanked to clipboard" " Yank current file path into the clipboard nnoremap yf :!echo -n %c:p | wl-copy %i:echo expand('%"c:p') "is yanked to clipboard" nnoremap q :q "nnoremap รถ q