I use urxvt with zsh and vi keys (bindkey -v). Is there a way to bind custom commands to single keys when in normal mode? For example, I'd like p to run xclip -o -sel clip and insert the result at the cursor position.
Asked
Active
Viewed 26 times
1
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
danijar
- 1,433
- 2
- 14
- 22
-
1Line edition is done by the shell (zsh), not by the terminal (urxvt). – Gilles 'SO- stop being evil' Feb 06 '16 at 21:38
-
@Gilles Thanks for the info. Do you know of a way to realize that with zsh? – danijar Feb 06 '16 at 21:40