nvim: plugins: Drop dirvish and use dirbuf.nvim
This commit is contained in:
parent
fcc992511e
commit
f4d02a793f
3 changed files with 1 additions and 20 deletions
|
@ -1,16 +0,0 @@
|
||||||
setlocal bufhidden=hide
|
|
||||||
setlocal nospell
|
|
||||||
|
|
||||||
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)
|
|
|
@ -62,8 +62,6 @@ vim.g.loaded_zipPlugin = 1
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = ","
|
vim.g.maplocalleader = ","
|
||||||
|
|
||||||
-- dirvish
|
|
||||||
vim.g.dirvish_relative_paths = 1
|
|
||||||
-- dispatch
|
-- dispatch
|
||||||
vim.g.dispatch_no_maps = 1
|
vim.g.dispatch_no_maps = 1
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,7 @@ local init = function ()
|
||||||
'tpope/vim-dispatch'
|
'tpope/vim-dispatch'
|
||||||
}
|
}
|
||||||
-- Directory viewer
|
-- Directory viewer
|
||||||
use 'justinmk/vim-dirvish'
|
use 'elihunter173/dirbuf.nvim'
|
||||||
use 'roginfarrer/vim-dirvish-dovish'
|
|
||||||
-- Alignment
|
-- Alignment
|
||||||
use 'junegunn/vim-easy-align'
|
use 'junegunn/vim-easy-align'
|
||||||
use 'nvim-lua/plenary.nvim'
|
use 'nvim-lua/plenary.nvim'
|
||||||
|
|
Loading…
Reference in a new issue