1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 02:29:06 -08:00

attempt to deal with netrw's absurdity, also add more binds

This commit is contained in:
Connor Olding 2021-08-02 13:43:52 -07:00
parent 62702f09e5
commit 752dc2a605

View file

@ -152,6 +152,10 @@ if has('autocmd')
au BufRead,BufNewFile *.pde setlocal ft=processing
augroup END
augroup insanity
autocmd FileType netrw setl bufhidden=wipe
augroup END
augroup nocomment
au!
au FileType * setlocal fo-=c fo-=r fo-=o
@ -211,7 +215,10 @@ endf
com! -nargs=+ Inn call Inn(<q-args>)
Inn <F5> :w<cr>
Inn <F6> :Next<cr>
Inn <F7> :next<cr>
Inn <F8> :e<cr>
Inn <F9> @@
Inn <F10> :bd<cr>
Inn <c-F5> :w!<cr>
Inn <c-F8> :e!<cr>
@ -297,6 +304,8 @@ catch /E185/
colorscheme desert
endtry
let g:netrw_fastbrowse = 0 " so THAT'S what's been causing me agony
" ctrlp {{{1
map <silent> <c-n> :CtrlPBuffer<cr>