X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.vimrc;h=ab92bd46f9f0723c51a09c5c6d7c376509098253;hp=c4e396cc393523f8c4014a525f518d21445bbfe9;hb=c4ff18c37a5d7c6f0418e547fbf4aacc4537da3d;hpb=8f07462da993224ab6e265a34f49915a76ddb3a4 diff --git a/.vimrc b/.vimrc index c4e396c..ab92bd4 100644 --- a/.vimrc +++ b/.vimrc @@ -795,15 +795,15 @@ command! UName Uname endif " ---------- -if has("iconv") -function! SetViminfoEncoding() - " Set universal encoding for .viminfo - if &encoding != 'utf-8' - set encoding=utf-8 - endif -endfunction -autocmd VimLeavePre * call SetViminfoEncoding() -endif +" if has("iconv") +" function! SetViminfoEncoding() +" " Set universal encoding for .viminfo +" if &encoding != 'utf-8' +" set encoding=utf-8 +" endif +" endfunction +" autocmd VimLeavePre * call SetViminfoEncoding() +" endif " This has to go to the very end of ~/.vimrc to allow reading the .vimrc set secure " safer working with script files in the current directory