nvim: plugins: Add vim-dirvish-dovish

This commit is contained in:
Sanchayan Maity 2022-04-05 10:54:48 +05:30
parent 8a7567a8b1
commit 75ff0341f6
2 changed files with 13 additions and 0 deletions

View file

@ -1,3 +1,15 @@
setlocal bufhidden=wipe
nnoremap <buffer> <silent> yy "+yy<C-^>
" 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)

View file

@ -57,6 +57,7 @@ local init = function ()
}
-- Directory viewer
use 'justinmk/vim-dirvish'
use 'roginfarrer/vim-dirvish-dovish'
--Toggle terminal
use 'akinsho/toggleterm.nvim'
-- Take care of sudo