Skip to content

Instantly share code, notes, and snippets.

@retorillo
Last active November 20, 2018 20:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retorillo/ac7888a23f3d34e562f2 to your computer and use it in GitHub Desktop.
Save retorillo/ac7888a23f3d34e562f2 to your computer and use it in GitHub Desktop.
Disabling IME on VIM

Disabling IME on VIM

Solution 1

set iminsert=0
set imsearch=-1
inoremap <ESC> <ESC>:set iminsert=0<CR>

Solution 2

set iminsert=0
set imsearch=-1
inoremap <ESC> <ESC>:set imd<CR>:set noimd<CR> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment