Skip to content

Commit

Permalink
[vim] fixes for netrw weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
kejadlen committed Dec 3, 2019
1 parent 6600d33 commit 0bbed0c
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ set foldmethod=syntax " Fold on the syntax

" Editing {{{

" set hidden
set hidden
if !has("nvim")
set noesckeys
endif
Expand All @@ -111,16 +111,6 @@ augroup RestoreCursor
autocmd BufWinEnter * call RestoreCursor()
augroup end

" augroup netrw_buf_hidden_fix
" autocmd!

" " Set all non-netrw buffers to bufhidden=hide
" autocmd BufWinEnter *
" \ if &ft != 'netrw'
" \| set bufhidden=hide
" \| endif
" augroup end

augroup DisableAutoComment
autocmd BufEnter * setlocal formatoptions-=o
augroup END
Expand Down Expand Up @@ -170,7 +160,8 @@ set smartcase

" netrw

let g:netrw_fastbrowse=0
" https://github.com/tpope/vim-vinegar/issues/13
let g:netrw_liststyle=0

" ripgrep
if executable('rg')
Expand Down

0 comments on commit 0bbed0c

Please sign in to comment.