From c719fdb64a8a48b4ca240bb58488732e73b8b12b Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 4 Feb 2024 11:09:13 +0800 Subject: [PATCH] Open VIM set IM to default --- plugin/smartim.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/smartim.vim b/plugin/smartim.vim index 32f355d..7ef89cd 100644 --- a/plugin/smartim.vim +++ b/plugin/smartim.vim @@ -102,6 +102,7 @@ endfunction augroup smartim autocmd! autocmd VimLeavePre * call Smartim_SelectDefault() + autocmd VimEnter * call Smartim_SelectDefault() autocmd InsertLeave * call Smartim_SelectDefault() autocmd InsertEnter * call Smartim_SelectSaved() augroup end