X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.vimrc;h=df1a9eeb14da0b41ea3dd4121097a4b66c885697;hb=5500a2dadeaa9252a0285627a00b90847a2cb796;hp=ea2fa7960123b855f27c048fcbc08b7bfcbfc522;hpb=78398a66a22eeaba0a3683441aa3f1572c99ded1;p=dotfiles.git diff --git a/.vimrc b/.vimrc index ea2fa79..df1a9ee 100644 --- a/.vimrc +++ b/.vimrc @@ -347,7 +347,7 @@ function! SetupEncoding(encoding) endfunction -" http://lwn.net/Articles/226514/ +" From http://lwn.net/Articles/226514/ augroup gpg " Remove ALL autocommands for the current group. @@ -622,7 +622,8 @@ endif " Called automagically after every buffer read, enables fileencoding -" setting from modeline (see Tip #911: http://vim.wikia.com/wiki/VimTip911) +" setting from modeline (see Tip #911: +" http://vim.wikia.com/wiki/How_to_make_fileencoding_work_in_the_modeline) function! AutoEncoding() if &modified && &fileencoding != "" call SetupEncoding(&fileencoding)