vim-rsi icon indicating copy to clipboard operation
vim-rsi copied to clipboard

adding C-U and C-Y bindings

Open kasbah opened this issue 12 years ago • 5 comments

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?

kasbah avatar Dec 17 '12 12:12 kasbah

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?

tpope avatar Dec 17 '12 14:12 tpope

Huh, didn't know about <C-Y> in insert mode. That does seem useful.

kasbah avatar Dec 20 '12 04:12 kasbah

This would also be useful for <C-W> (and <M-BS>).

justinmk avatar Jul 18 '14 00:07 justinmk

Heh, I reluctantly merged that <M-BS> in only because I couldn't object on conflict grounds.

tpope avatar Jul 18 '14 00:07 tpope

Gave up on CTRL-W for now, but #17 works nicely for CTRL-U. This has been bugging me for about 10 years.

justinmk avatar Jul 20 '14 08:07 justinmk