forked from extern/nix-config
Add netrw config to .vimrc
netrw is the default file browser in vim. It works exceptionally well, so I use it over other plugins that provide the same functionality.
This commit is contained in:
parent
f19dc21649
commit
5e1de9b170
13
.vimrc
13
.vimrc
@ -137,6 +137,9 @@ nnoremap <silent> <leader>e :set nu!<CR>
|
||||
nnoremap <silent> <leader>t :OverCommandLine<CR>%s/
|
||||
|
||||
" Middle row
|
||||
nnoremap <silent> <leader>a :Vexplore<CR>
|
||||
nnoremap <silent> <leader>s :Sexplore<CR>
|
||||
nnoremap <silent> <leader>d :Explore<CR>
|
||||
nnoremap <silent> <leader>f :Files<CR>
|
||||
nnoremap <silent> <leader>g :set hlsearch!<CR>
|
||||
nnoremap <silent> <leader>j :Buffers<CR>
|
||||
@ -156,6 +159,16 @@ nnoremap <silent> <leader>2 :PencilSoft<CR>:Goyo<CR>:hi vertsplit ctermfg=0 cter
|
||||
nnoremap <silent> <leader>3 :mksession! ~/.vim/.session<CR>
|
||||
nnoremap <silent> <leader>4 :source ~/.vim/.session<CR>
|
||||
|
||||
" =========================
|
||||
" ========= netrw =========
|
||||
" =========================
|
||||
|
||||
" Remove the banner
|
||||
let g:netrw_banner = 0
|
||||
|
||||
" Use the tree list view
|
||||
let g:netrw_liststyle = 3
|
||||
|
||||
" =======================
|
||||
" ========= ale =========
|
||||
" =======================
|
||||
|
Loading…
Reference in New Issue
Block a user