Skip to content

Conversation

@kasbah
Copy link

@kasbah kasbah commented Dec 17, 2012

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?

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?
@tpope
Copy link
Owner

tpope commented Dec 17, 2012

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?

@kasbah
Copy link
Author

kasbah commented Dec 20, 2012

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

@justinmk
Copy link
Contributor

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

@tpope
Copy link
Owner

tpope commented Jul 18, 2014

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

@justinmk
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants