aboutsummaryrefslogtreecommitdiff
path: root/vim/config
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:15:10 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-10 21:15:10 +1300
commit3d6a063b0702de236b3ffc6c5b40eef0cd76e56d (patch)
tree08750bf693c79d7635b25e423cd44d51ff754d2b /vim/config
parentMove backup, swap, and undo dir logic into plugins (diff)
downloaddotfiles-3d6a063b0702de236b3ffc6c5b40eef0cd76e56d.tar.gz
dotfiles-3d6a063b0702de236b3ffc6c5b40eef0cd76e56d.zip
Merge encoding.vim and file.vim into files.vim
Diffstat (limited to 'vim/config')
-rw-r--r--vim/config/encoding.vim4
-rw-r--r--vim/config/files.vim (renamed from vim/config/file.vim)5
2 files changed, 5 insertions, 4 deletions
diff --git a/vim/config/encoding.vim b/vim/config/encoding.vim
deleted file mode 100644
index 72f2d40e..00000000
--- a/vim/config/encoding.vim
+++ /dev/null
@@ -1,4 +0,0 @@
-" Use UTF-8 by default wherever possible
-if has('multi_byte')
- set encoding=utf-8
-endif
diff --git a/vim/config/file.vim b/vim/config/files.vim
index a0c99f6c..7a23b4c5 100644
--- a/vim/config/file.vim
+++ b/vim/config/files.vim
@@ -8,6 +8,11 @@ nnoremap <silent>
\ <Leader>p
\ :<C-U>set filetype?<CR>
+" Use UTF-8 by default wherever possible
+if has('multi_byte')
+ set encoding=utf-8
+endif
+
" Use all ancestors of current directory for :find
if has('file_in_path')
set path=**