From eb6ecddf85887112f5bbbd5205f668407bcbf17b Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 15 Jan 2022 14:25:52 +0800 Subject: Add vim package smartim --- .vim/plugin/misc.vim | 6 ++++++ bin/vim-pack | 1 + 2 files changed, 7 insertions(+) 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 (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 -- cgit v1.2.3