Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: kill-word & friends in ZLE



In your mail, you said:
[...]
> Another satisifactory option would be something like "yank-word", so I
> could yank back the most-recently-killed word, rather the whole line,
> when I accidentally press alt-backspace once too often.

Why don't you use C-y? This works for me:
fly% ls foo bar[Esc-Backspace][C-y]
erases and returns bar on the line. Furthermore, all the kills enter the
kill-ring and are reaccessible.

-- 
hniksic@xxxxxxx              |  Student of electrical engineering
hniksic@xxxxxxxxxxxxx        |  University of Zagreb, Croatia
------------------------------------------------------------------
`VI' - An editor used by those heretics that don't subscribe to
       the Emacs religion.




Messages sorted by: Reverse Date, Date, Thread, Author