Created
October 3, 2015 13:33
-
-
Save jasonmorganson/f3bef14371d175474afe to your computer and use it in GitHub Desktop.
VI Pure Prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT='%(?.%F{magenta}.%F{red})${${KEYMAP/vicmd/❮%f}/(main|viins)/❯%f} ' | |
function zle-line-init zle-keymap-select { | |
zle reset-prompt | |
} | |
zle -N zle-line-init | |
zle -N zle-keymap-select |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment