You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem as I see it is two-fold. The KEYBD trap happens BEFORE the defined function of the key is processed, and ksh doesn't expose the result of the editing key(s).
Zsh gets around the first by performing the function of the key inside the binding, and it has a variable that gives access to the result.
Is there a way to do this without involving something like tmux ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
example (for
zsh
) https://apple.stackexchange.com/questions/336228/make-ctrl-k-in-terminal-copy-to-the-system-clipboard?rq=1The problem as I see it is two-fold. The KEYBD trap happens BEFORE the defined function of the key is processed, and
ksh
doesn't expose the result of the editing key(s).Zsh
gets around the first by performing the function of the key inside the binding, and it has a variable that gives access to the result.Is there a way to do this without involving something like
tmux
?Beta Was this translation helpful? Give feedback.
All reactions