]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Make views for files without extensions
authorSergey Matveev <stargrave@stargrave.org>
Mon, 14 Jun 2021 15:14:58 +0000 (18:14 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Mon, 14 Jun 2021 15:14:58 +0000 (18:14 +0300)
vim/.vimrc

index 90aaf9f035ea148e2e6e4e52eaab7005a481583a..67aed0fee77389086e794807add881154d47b769 100644 (file)
@@ -91,8 +91,8 @@ endfunction
 " }}}
 
 " View saving {{{
-autocmd BufWinLeave *.* mkview
-autocmd BufWinEnter *.* silent loadview
+autocmd BufWinLeave ?* silent! mkview
+autocmd BufWinEnter ?* silent loadview
 " }}}
 
 " Windows related {{{