-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins: vi-mode: extra vi-like bindings, vi-like commands clipboard #3616
Conversation
Added the standard behaviour of ctrl-r for history incremental searching.
- 'gg': go to the beginning of the buffer history - 'G': go to the end of the buffer history - 'u': properly undo multiple changes - '^R: while in normal mode re-do changes
Enable to use vim commands ( y/p/d/c/s ) to interact with the X window system clipboard, thus with other applications.
ctrl-r for history searching & the extra vim-like bindings work well and are much appreciated (I have not tested the copy/paste from the clipboard). |
A way copy/paste can be used/tested (that is actually useful) is by copy an URL from the browser and then in the terminal (
Another example for youtube video downloading:
The Copy function can be tested like this:
So we have |
OK! I've tested it now and it's really cool. One strange thing, though: it seems
results in
But after this:
still results in
(but |
Thank you very much for testing, I didn't notice that, it's strange indeed... I'll check it out! |
Excellent ... +1 |
Interesting and useful! +1 |
@0arthur Added in pull request message |
Daniel, Cheers, On Sun, Mar 29, 2015 at 16:33 -0700, Daniel Campoverde Carri�n wrote:
Arthur Noel |
Hello there! I've been using this for almost two months now, and find it useful & reliable. Can we please merge it? Thanks, |
The X clipboard functionality should be broken out into a separate merge request, so as not to prevent this one from being merged. There are many things that need to be discussed and ironed out. For instance, it is unexpected that Now that being said, it would be very useful to make |
The latest changes seem to have happened quite some time ago. Since I'm very much interested in vim-like copy/paste functionality, may I ask whether there's any progress or related solution? |
@alx741 , Unfortunately, this is interfering with navigation (the up and down keys do not search correctly anymore). I would love to see this implemented. Thanks! |
@felipe-vieira0 yeah... I suppose at this point its impossible to make it work without pretty much re-implementing it, I stopped using oh-my-zh years ago though and went with just a personal .zshrc for improved performance. So I guess there will not be further progress from my side on this... sorry about that. |
ctrl-r
for incremental history searchingG
gg
u
^-R
vim commands behavior