aboutsummaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-04-28 10:29:17 +0800
committergxlin <[email protected]>2021-04-28 10:29:17 +0800
commitc7d4dc60a1827ad2ef4748239fe4276140631848 (patch)
tree9dd75593e16d6471bc4d4a46b58a895481f18478 /.vim
parent8aaabedde4f1ee045c9fedbcf20fecb3d217531a (diff)
downloaddotfiles-c7d4dc60a1827ad2ef4748239fe4276140631848.tar.gz
dotfiles-c7d4dc60a1827ad2ef4748239fe4276140631848.tar.bz2
dotfiles-c7d4dc60a1827ad2ef4748239fe4276140631848.zip
More config
Diffstat (limited to '.vim')
-rw-r--r--.vim/init.vim2
-rw-r--r--.vim/plugins/easymotion.vim3
2 files changed, 4 insertions, 1 deletions
diff --git a/.vim/init.vim b/.vim/init.vim
index 93bebcc..58f7e0a 100644
--- a/.vim/init.vim
+++ b/.vim/init.vim
@@ -4,7 +4,7 @@ set nocompatible
set number
set backspace=indent,eol,start
syntax on
-set encoding=utf-8
+set fileencodings=ucs=bom,utf-8,utf-16,gbk,big5,gb18030,latin1
set t_Co=256
set showcmd
set autoread
diff --git a/.vim/plugins/easymotion.vim b/.vim/plugins/easymotion.vim
new file mode 100644
index 0000000..ce87f12
--- /dev/null
+++ b/.vim/plugins/easymotion.vim
@@ -0,0 +1,3 @@
+Plug 'easymotion/vim-easymotion'
+
+map <Space> <Plug>(easymotion-prefix)