aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-19 23:56:20 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-19 23:56:20 +1200
commit46a72313f81a3ad6bd7c4ea98d9c7d790eff8932 (patch)
tree7c30aa83f8f7f0dbfda0c96c8a3c830c3baf1a7d
parentApply toggle_flag.vim hotfix (diff)
downloaddotfiles-46a72313f81a3ad6bd7c4ea98d9c7d790eff8932.tar.gz
dotfiles-46a72313f81a3ad6bd7c4ea98d9c7d790eff8932.zip
Move 'encoding' .vimrc setting alphabetically
-rw-r--r--vim/vimrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 9b261986..297fd078 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -80,11 +80,6 @@ else
set display=lastline " Just let it run off the screen if not
endif
-" If $LANG isn't set and 'encoding' is the default, use UTF-8
-if has('multi_byte') && !exists('$LANG') && &encoding ==# 'latin1'
- set encoding=utf-8
-endif
-
" Don't wait for a key after Escape in insert mode
if exists('+esckeys') " Not in Neovim
set noesckeys
@@ -171,6 +166,11 @@ if has('mksession')
set sessionoptions-=options
endif
+" If $LANG isn't set and 'encoding' is the default, use UTF-8
+if has('multi_byte') && !exists('$LANG') && &encoding ==# 'latin1'
+ set encoding=utf-8
+endif
+
" Persistent undo settings
if has('persistent_undo')