nvim: plugins: Drop dirvish and use dirbuf.nvim

This commit is contained in:
Sanchayan Maity 2023-01-09 14:04:25 +05:30
parent fcc992511e
commit f4d02a793f
Signed by: sanchayanmaity
GPG Key ID: 6F6A0609C12038F3
3 changed files with 1 additions and 20 deletions

View File

@ -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)

View File

@ -62,8 +62,6 @@ vim.g.loaded_zipPlugin = 1
vim.g.mapleader = " "
vim.g.maplocalleader = ","
-- dirvish
vim.g.dirvish_relative_paths = 1
-- dispatch
vim.g.dispatch_no_maps = 1

View File

@ -54,8 +54,7 @@ local init = function ()
'tpope/vim-dispatch'
}
-- Directory viewer
use 'justinmk/vim-dirvish'
use 'roginfarrer/vim-dirvish-dovish'
use 'elihunter173/dirbuf.nvim'
-- Alignment
use 'junegunn/vim-easy-align'
use 'nvim-lua/plenary.nvim'