mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-18 06:53:35 -04:00
54143: Bind '_' to vi-first-non-blank in vicmd keymap
This commit is contained in:
committed by
Oliver Kiddle
parent
af47b22167
commit
e97e326c16
@@ -1,5 +1,8 @@
|
||||
2025-12-16 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* Aidan Van Duyne: 54143: Src/Zle/zle_bindings.c,
|
||||
Doc/Zsh/zle.yo: Bind '_' to vi-first-non-blank in vicmd keymap
|
||||
|
||||
* 54147: Src/Zle/termquery.c: avoid buffer overflow with
|
||||
terminal sequences
|
||||
|
||||
|
||||
@@ -1328,7 +1328,7 @@ Read a character from the keyboard, and move to
|
||||
the position just after the previous occurrence of it in the line.
|
||||
)
|
||||
tindex(vi-first-non-blank)
|
||||
item(tt(vi-first-non-blank) (unbound) (tt(^)) (unbound))(
|
||||
item(tt(vi-first-non-blank) (unbound) (tt(_ ^)) (unbound))(
|
||||
Move to the first non-blank character in the line.
|
||||
)
|
||||
tindex(vi-forward-word)
|
||||
|
||||
@@ -385,7 +385,7 @@ int vicmdbind[128] = {
|
||||
/* \ */ z_undefinedkey,
|
||||
/* ] */ z_undefinedkey,
|
||||
/* ^ */ z_vifirstnonblank,
|
||||
/* _ */ z_undefinedkey,
|
||||
/* _ */ z_vifirstnonblank,
|
||||
/* ` */ z_vigotomark,
|
||||
/* a */ z_viaddnext,
|
||||
/* b */ z_vibackwardword,
|
||||
|
||||
Reference in New Issue
Block a user