Skip to content

Instantly share code, notes, and snippets.

@thomaskern
Created September 22, 2012 15:40
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 thomaskern/3766554 to your computer and use it in GitHub Desktop.
Save thomaskern/3766554 to your computer and use it in GitHub Desktop.
~ » whence -f zle-keymap-select
zle-keymap-select () {
VIMODE="${${KEYMAP/vicmd/ M:command}/(main|viins)/}"
zle reset-prompt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment