powerline-go
powerline-go copied to clipboard
vim mode in zsh
With the python version of powerline, you get a special module that tells you if you are in INSERT or in COMMAND mode in zsh. This helps you know if you should just write, or if you should use vim commands.
Are there any plans to add this module to powerline-go?
From what I can see, this would require quite a bit of scripting on vim side, which I’m not really able to do (personally, I don’t use vim). If someone were to contribute that, I’d love to add it though.
@justjanne I am not talking about the vim module, I am talking about the insert or command mode in zsh.
Could you tell me if the variables $KEYMAP or $VIM_MODE_KEYMAP are set if you enter insert/command mode in ZSH?
FWIW, it looks like they are set. I'm using this workaround to change the cursor as an alternative option so I can keep using powerline-go.