zsh-users
 help / color / mirror / code / Atom feed
* visual/viopp modes are not detected by zle-keymap-select
@ 2016-02-24  4:34 Hugh X
  2016-02-24 18:31 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Hugh X @ 2016-02-24  4:34 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

Hi,

The recent zsh 5.2 supports more vi modes including visual and viopp. When
I switched from vicmd to visual, the zle-keymap-select fails to capture the
keymap change in $KEYMAP. Please let me know if there is a way to indicate
the current editor state enters the visual-mode. Thanks.


Regards, Hugh

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: visual/viopp modes are not detected by zle-keymap-select
@ 2016-02-24 21:59 Hugh X
  2016-02-29 23:30 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Hugh X @ 2016-02-24 21:59 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

Got it. Thanks for the explanation. My preliminary thought is to use the
"visual" to update the prompt so that I can add/debug some key bindings in
the visual mode. Since you mentioned that these local keymaps will have
their own widget-binding methods through the interpreter, I wound whether
there is such special widgets that similar to *_init and *_exit.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-29 23:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-24  4:34 visual/viopp modes are not detected by zle-keymap-select Hugh X
2016-02-24 18:31 ` Bart Schaefer
2016-02-24 21:59 Hugh X
2016-02-29 23:30 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).