aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-07-24 14:49:57 +0200
committerKarel Kočí <cynerd@email.cz>2020-07-24 14:50:09 +0200
commit072cd36e4e2712fae5d7bb8b8adc1fd0841bc172 (patch)
tree6f61b5a246ef877711dce010ad3f8e29c1127a3c /vimrc
parentceb94e4b1f6d23cfbc4c7bc63ede68525b6777c0 (diff)
downloadmyconfigs-072cd36e4e2712fae5d7bb8b8adc1fd0841bc172.tar.gz
myconfigs-072cd36e4e2712fae5d7bb8b8adc1fd0841bc172.tar.bz2
myconfigs-072cd36e4e2712fae5d7bb8b8adc1fd0841bc172.zip
vimrc: Do not hide any files in netrw
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 618d55e..6db03cd 100644
--- a/vimrc
+++ b/vimrc
@@ -116,12 +116,12 @@ cmap w!! w !sudo tee >/dev/null %
cabbrev E Explore
let g:netrw_banner=0
let g:netrw_liststyle=1
+let g:netrw_list_hide='\(^\|\s\s\)\zs\.\S\+,'
function GitIgnore()
" Possibly find and include all lower .gitignore files?
let g:netrw_list_hide='\(^\|\s\s\)\zs\.\S\+,' . netrw_gitignore#Hide()
endfunction
command GitIgnore call GitIgnore()
-GitIgnore
" Some fast buffer switching and opening of new files
nnoremap <C-C><CR> :Explore<CR>
nnoremap <C-C>l :bnext<CR>