aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vim/plugin/misc.vim6
-rwxr-xr-xbin/vim-pack1
2 files changed, 7 insertions, 0 deletions
diff --git a/.vim/plugin/misc.vim b/.vim/plugin/misc.vim
index bb68242..ff2db74 100644
--- a/.vim/plugin/misc.vim
+++ b/.vim/plugin/misc.vim
@@ -8,3 +8,9 @@ map <Space> <Plug>(easymotion-prefix)
if !empty(glob('/usr/bin/fcitx5'))
packadd fcitx.vim
endif
+
+" smartim
+if has('mac')
+ packadd smartim
+ let g:smartim_default = 'com.apple.keylayout.ABC'
+endif
diff --git a/bin/vim-pack b/bin/vim-pack
index 9f338a9..907cf87 100755
--- a/bin/vim-pack
+++ b/bin/vim-pack
@@ -109,6 +109,7 @@ update_package vim-rsi https://github.com/tpope/vim-rsi.git &
update_package vim-dispatch https://github.com/tpope/vim-dispatch.git &
update_package org.vim https://github.com/axvr/org.vim.git &
update_package fcitx.vim https://github.com/lilydjwg/fcitx.vim.git opt &
+update_package smartim https://github.com/ybian/smartim.git opt &
wait
vim '"+helptags ALL"' +q