Skip to content

Instantly share code, notes, and snippets.

@yaasita
Last active August 27, 2015 10:47
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 yaasita/f4bb5d52de8be4eda3a1 to your computer and use it in GitHub Desktop.
Save yaasita/f4bb5d52de8be4eda3a1 to your computer and use it in GitHub Desktop.
inoremap <silent> <ESC> <ESC>:call system("ore_ime stop")<CR>
#!/bin/bash
set -e
case "$1" in
start)
xvkbd -text "\[Control]\[Shift]\[Insert]" > /dev/null 2>&1
;;
stop)
xvkbd -text "\[Control]\[Shift]\[Delete]" > /dev/null 2>&1
;;
toggle)
xvkbd -text "\[Control]\[space]" > /dev/null 2>&1
;;
*)
echo "${name} Didn't match anything"
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment