mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
znt: optimizations for zsh<=5.2, use $BUFFER if cmd is not from history
This commit is contained in:
parent
0dca9e74fd
commit
7da8ef6750
7 changed files with 25 additions and 12 deletions
|
|
@ -25,7 +25,7 @@ widgets exist, znt-cd-widget and znt-kill-widget, they can be too assigned
|
|||
to key combinations (no need for autoload when using Oh My Zsh):
|
||||
|
||||
zle -N znt-cd-widget
|
||||
bindkey "^T" znt-cd-widget
|
||||
bindkey "^A" znt-cd-widget
|
||||
zle -N znt-kill-widget
|
||||
bindkey "^Y" znt-kill-widget
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue