Skip to content

Instantly share code, notes, and snippets.

@miyakogi
Last active January 25, 2016 14:39
Show Gist options
  • Save miyakogi/2b8bb6683f12bc48a38a to your computer and use it in GitHub Desktop.
Save miyakogi/2b8bb6683f12bc48a38a to your computer and use it in GitHub Desktop.
if executable('fcitx-remote')
autocmd InsertLeave * call system('fcitx-remote -c')
else
autocmd InsertLeave * set iminsert=0
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment