Add options to make use of netrw

This commit is contained in:
Anthony Rose 2016-07-13 10:05:56 +01:00
parent 3a754955ca
commit e705339fee
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.netrwhist

6
vimrc
View file

@ -9,6 +9,12 @@ inoremap <down> <nop>
inoremap <left> <nop> inoremap <left> <nop>
inoremap <right> <nop> inoremap <right> <nop>
inoremap <up> <nop> inoremap <up> <nop>
let g:netrw_altv=1
let g:netrw_banner = 0
let g:netrw_browse_split = 4
let g:netrw_liststyle = 3
let g:netrw_sort_sequence = '[\/]$,*'
let g:netrw_winsize = -28
nmap <silent> <A-Down> :wincmd j<CR> nmap <silent> <A-Down> :wincmd j<CR>
nmap <silent> <A-Left> :wincmd h<CR> nmap <silent> <A-Left> :wincmd h<CR>
nmap <silent> <A-Right> :wincmd l<CR> nmap <silent> <A-Right> :wincmd l<CR>