nvim: plugins: Add vim-dirvish-dovish
This commit is contained in:
parent
8a7567a8b1
commit
75ff0341f6
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,15 @@
|
||||||
setlocal bufhidden=wipe
|
setlocal bufhidden=wipe
|
||||||
|
|
||||||
nnoremap <buffer> <silent> yy "+yy<C-^>
|
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)
|
||||||
|
|
|
@ -57,6 +57,7 @@ local init = function ()
|
||||||
}
|
}
|
||||||
-- Directory viewer
|
-- Directory viewer
|
||||||
use 'justinmk/vim-dirvish'
|
use 'justinmk/vim-dirvish'
|
||||||
|
use 'roginfarrer/vim-dirvish-dovish'
|
||||||
--Toggle terminal
|
--Toggle terminal
|
||||||
use 'akinsho/toggleterm.nvim'
|
use 'akinsho/toggleterm.nvim'
|
||||||
-- Take care of sudo
|
-- Take care of sudo
|
||||||
|
|
Loading…
Reference in a new issue