mirror of
https://github.com/notwa/rc
synced 2025-02-05 15:43:22 -08:00
attempt to deal with netrw's absurdity, also add more binds
This commit is contained in:
parent
62702f09e5
commit
752dc2a605
1 changed files with 9 additions and 0 deletions
|
@ -152,6 +152,10 @@ if has('autocmd')
|
||||||
au BufRead,BufNewFile *.pde setlocal ft=processing
|
au BufRead,BufNewFile *.pde setlocal ft=processing
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
augroup insanity
|
||||||
|
autocmd FileType netrw setl bufhidden=wipe
|
||||||
|
augroup END
|
||||||
|
|
||||||
augroup nocomment
|
augroup nocomment
|
||||||
au!
|
au!
|
||||||
au FileType * setlocal fo-=c fo-=r fo-=o
|
au FileType * setlocal fo-=c fo-=r fo-=o
|
||||||
|
@ -211,7 +215,10 @@ endf
|
||||||
com! -nargs=+ Inn call Inn(<q-args>)
|
com! -nargs=+ Inn call Inn(<q-args>)
|
||||||
|
|
||||||
Inn <F5> :w<cr>
|
Inn <F5> :w<cr>
|
||||||
|
Inn <F6> :Next<cr>
|
||||||
|
Inn <F7> :next<cr>
|
||||||
Inn <F8> :e<cr>
|
Inn <F8> :e<cr>
|
||||||
|
Inn <F9> @@
|
||||||
Inn <F10> :bd<cr>
|
Inn <F10> :bd<cr>
|
||||||
Inn <c-F5> :w!<cr>
|
Inn <c-F5> :w!<cr>
|
||||||
Inn <c-F8> :e!<cr>
|
Inn <c-F8> :e!<cr>
|
||||||
|
@ -297,6 +304,8 @@ catch /E185/
|
||||||
colorscheme desert
|
colorscheme desert
|
||||||
endtry
|
endtry
|
||||||
|
|
||||||
|
let g:netrw_fastbrowse = 0 " so THAT'S what's been causing me agony
|
||||||
|
|
||||||
" ctrlp {{{1
|
" ctrlp {{{1
|
||||||
|
|
||||||
map <silent> <c-n> :CtrlPBuffer<cr>
|
map <silent> <c-n> :CtrlPBuffer<cr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue