Skip to content

Instantly share code, notes, and snippets.

@mitsuse
Created January 2, 2017 08:53
Show Gist options
  • Save mitsuse/049fa865f4f6b05dcaf0f283ada8fb54 to your computer and use it in GitHub Desktop.
Save mitsuse/049fa865f4f6b05dcaf0f283ada8fb54 to your computer and use it in GitHub Desktop.
Switch the current input source to "ABC - Extended" on `InsertLeave` in Vim.
if executable('swim')
autocmd InsertLeave * :call system('swim use com.apple.keyboardlayout.all')
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment