nvim: Switch to dirvish as directory viewer
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
ccfab23987
commit
2ef8a772e5
4 changed files with 6 additions and 10 deletions
|
@ -14,11 +14,6 @@ augroup ResizeWindowsProportionally
|
||||||
autocmd VimResized * :wincmd =
|
autocmd VimResized * :wincmd =
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
augroup VinegarNetrw
|
|
||||||
au!
|
|
||||||
autocmd FileType netrw set bufhidden=delete
|
|
||||||
augroup END
|
|
||||||
|
|
||||||
augroup UserStatusline
|
augroup UserStatusline
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufEnter,WinEnter,TermOpen * setlocal statusline=%!ActiveStatus()
|
autocmd BufEnter,WinEnter,TermOpen * setlocal statusline=%!ActiveStatus()
|
||||||
|
|
|
@ -81,3 +81,7 @@ let g:loaded_ruby_provider = 0
|
||||||
let g:loaded_perl_provider = 0
|
let g:loaded_perl_provider = 0
|
||||||
let g:loaded_node_provider = 0
|
let g:loaded_node_provider = 0
|
||||||
let g:python3_host_prog = '/usr/bin/python3'
|
let g:python3_host_prog = '/usr/bin/python3'
|
||||||
|
|
||||||
|
" Disable netrw completely
|
||||||
|
let g:loaded_netrw = 1
|
||||||
|
let g:loaded_netrwPlugin = 1
|
||||||
|
|
|
@ -82,13 +82,14 @@ Plug 'tpope/vim-commentary'
|
||||||
Plug 'tpope/vim-repeat'
|
Plug 'tpope/vim-repeat'
|
||||||
Plug 'tpope/vim-eunuch'
|
Plug 'tpope/vim-eunuch'
|
||||||
Plug 'tpope/vim-sleuth'
|
Plug 'tpope/vim-sleuth'
|
||||||
Plug 'tpope/vim-vinegar'
|
|
||||||
" Show indentation levels
|
" Show indentation levels
|
||||||
Plug 'Yggdroot/indentLine'
|
Plug 'Yggdroot/indentLine'
|
||||||
" Floating terminal
|
" Floating terminal
|
||||||
Plug 'voldikss/vim-floaterm'
|
Plug 'voldikss/vim-floaterm'
|
||||||
" Smooth scrolling
|
" Smooth scrolling
|
||||||
Plug 'psliwka/vim-smoothie'
|
Plug 'psliwka/vim-smoothie'
|
||||||
|
" Directory viewer
|
||||||
|
Plug 'justinmk/vim-dirvish'
|
||||||
" Handle line & column jump specifications as found in stack traces
|
" Handle line & column jump specifications as found in stack traces
|
||||||
Plug 'wsdjeg/vim-fetch'
|
Plug 'wsdjeg/vim-fetch'
|
||||||
" Miscellaneous
|
" Miscellaneous
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
" Close open netrw buffers once done selecting file in vinegar
|
|
||||||
" See https://github.com/tpope/vim-vinegar/issues/13
|
|
||||||
let g:netrw_fastbrowse = 0
|
|
||||||
|
|
||||||
" Let vim-gitgutter do its thing on large files
|
" Let vim-gitgutter do its thing on large files
|
||||||
let g:gitgutter_max_signs=1000
|
let g:gitgutter_max_signs=1000
|
||||||
let g:gitgutter_map_keys = 0
|
let g:gitgutter_map_keys = 0
|
||||||
|
|
Loading…
Reference in a new issue