diff --git a/README.md b/README.md index 859423d..e3817ac 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,8 @@ ### 使用 Vim-Plug 插件 在你的配置文件中(通常是 .vimrc )加入如下代码片段 ``` -call plug#begin() -Plug lipingcoding/autoim.vim -call plug#end() +Plug 'lipingcoding/autoim.vim' + ``` @@ -22,6 +21,10 @@ let g:autoim_toggle_shortcut = 'cmd_space' ``` let g:autoim_toggle_shortcut = 'ctrl_space' ``` +如果是 ctrl-cmd-space 那就应该是: +``` +let g:autoim_toggle_shortcut = 'ctrl_cmd_space' +``` ## 具有类似功能的插件 - [smartim](https://github.com/ybian/smartim) diff --git a/plugin/ctrl_cmd_space.scpt b/plugin/ctrl_cmd_space.scpt new file mode 100755 index 0000000..96d9c4e Binary files /dev/null and b/plugin/ctrl_cmd_space.scpt differ diff --git a/plugin/ctrl_space.scpt b/plugin/ctrl_space.scpt index 87a61d7..4a722ef 100755 Binary files a/plugin/ctrl_space.scpt and b/plugin/ctrl_space.scpt differ