dotfiles/nvim/.config/nvim/after/ftplugin/dirvish.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
538 B
VimL
Raw Normal View History

setlocal bufhidden=hide
setlocal nospell
nnoremap <buffer> <silent> yy "+yy<C-^>
2022-04-05 07:24:48 +02:00
" Unmap all default mappings
let g:dirvish_dovish_map_keys = 0
nmap <silent> <buffer> i <Plug>(dovish_create_file)
nmap <silent> <buffer> I <Plug>(dovish_create_directory)
nmap <silent> <buffer> D <Plug>(dovish_delete)
nmap <silent> <buffer> r <Plug>(dovish_rename)
nmap <silent> <buffer> cc <Plug>(dovish_yank)
xmap <silent> <buffer> cc <Plug>(dovish_yank)
nmap <silent> <buffer> pp <Plug>(dovish_copy)
nmap <silent> <buffer> P <Plug>(dovish_move)