vim-rsi
vim-rsi copied to clipboard
adding C-U and C-Y bindings
This uses the unamed register and actually executes a let command to yank the current command text into the register. Maybe there is a better way?
Insert mode is right out. <C-Y> is already really handy there.
I'm really hesitant about command line mode too. People have very clear expectations about when the unnamed register will change, and this isn't one of those situations. Maybe we could use the small delete register (:help quote-) instead?
Huh, didn't know about <C-Y> in insert mode. That does seem useful.
This would also be useful for <C-W> (and <M-BS>).
Heh, I reluctantly merged that <M-BS> in only because I couldn't object on conflict grounds.
Gave up on CTRL-W for now, but #17 works nicely for CTRL-U. This has been bugging me for about 10 years.