1
0
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:
Donovan Glover 2018-10-18 14:10:41 -04:00
parent f19dc21649
commit 5e1de9b170
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

13
.vimrc
View File

@ -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 =========
" =======================