From 5ccbf8a2e495fe9161f867e405f9fd6f921ecf7a Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sat, 3 Jul 2021 19:40:20 +0800 Subject: [PATCH] vim: port ime control to nonarch --- .config/vim/vimrc-nonarch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/vim/vimrc-nonarch b/.config/vim/vimrc-nonarch index 85d40d8..bae9b80 100644 --- a/.config/vim/vimrc-nonarch +++ b/.config/vim/vimrc-nonarch @@ -22,3 +22,6 @@ let g:ale_php_phpcs_options = "--standard=PSR2" let g:ale_completion_enabled=1 let g:SuperTabDefaultCompletionType='' autocmd User ALELintPost let tmp=ale#statusline#Count(bufnr(''))['total'] | set rulerformat=%{tmp},%l,%c%V%=%P +autocmd InsertEnter * silent !echo -en "\e[?737769h" +autocmd InsertLeave * silent !echo -en "\e[?737769l" +autocmd VimLeave * silent !echo -en "\e[?737769h" -- 2.45.2