Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[vi-mode] mapping <esc> (`\e') in visual mode in zsl vi-mode



Hi,

How can I bind the <ESC> key, in zle vi-mode visual mode? I want that
pressing <esc> in visual mode switches to vi-normal mode.

this does not work:

```
bindkey -M visual '\e' vi-cmd-mode
```

cheers,

Filipe


Messages sorted by: Reverse Date, Date, Thread, Author