powerline-go icon indicating copy to clipboard operation
powerline-go copied to clipboard

vim mode in zsh

Open g00nix opened this issue 4 years ago • 4 comments

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?

g00nix avatar Jan 03 '20 11:01 g00nix

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 avatar Apr 24 '20 07:04 justjanne

@justjanne I am not talking about the vim module, I am talking about the insert or command mode in zsh.

g00nix avatar May 01 '20 23:05 g00nix

Could you tell me if the variables $KEYMAP or $VIM_MODE_KEYMAP are set if you enter insert/command mode in ZSH?

justjanne avatar Jan 06 '21 16:01 justjanne

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.

troyready avatar Apr 22 '21 17:04 troyready