diff options
author | Guangxiong Lin <[email protected]> | 2022-01-15 14:25:52 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-01-15 14:25:52 +0800 |
commit | eb6ecddf85887112f5bbbd5205f668407bcbf17b (patch) | |
tree | 46e27928ac1703ba629739807a93c7ff29a5e261 | |
parent | 424028a48be8ef0cb01e76473d19d6e057b534b5 (diff) | |
download | dotfiles-eb6ecddf85887112f5bbbd5205f668407bcbf17b.tar.gz dotfiles-eb6ecddf85887112f5bbbd5205f668407bcbf17b.tar.bz2 dotfiles-eb6ecddf85887112f5bbbd5205f668407bcbf17b.zip |
Add vim package smartim
-rw-r--r-- | .vim/plugin/misc.vim | 6 | ||||
-rwxr-xr-x | bin/vim-pack | 1 |
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 |