-
Notifications
You must be signed in to change notification settings - Fork 10
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
Request: Paste window, not swap. #4
Comments
Originally, the binding was I see your point about the possibly unexpected behavior of the |
@wesQ3 Yeah, that would be. I agree, I don't use yw or pw because ww is just so much easier. A clone would definitely be nice, sure. :D I tend to use split windows a ton inside tabs (e.g. 19 windows in my current tab) and sometimes the need arrises. What I've been doing often is |
I like the idea of cloning. I was confused why "yank" and "put" weren't doing that, and it wasn't until I read the docs that I saw it wasn't really "yank" and "put", despite the function names and mappings. If this is implemented, I propose using it as a time to switch the function names, if not the bindings as well. Even though it might disrupt people that use them, |
Okay, as a first step I think deprecating the old default mappings is probably best to avoid confusing new users; then this paste/clone window feature can exist on its own. |
Pasting terminal windows in neovim would be great. Are there other similar plugins? |
Using
yw
thenyp
behave like usingww
two times: it swaps the windows. It'd be nice to just paste a window, not swap. E.g., I was expectingyw
to copy a window, thenpw
to paste into the chosen buffer while leaving the same buffer in the previous window. e.g. the buffer wherepw
is called would replace that buffer with theyw
buffer, but nothing would happen to theyw
buffer.That would seem to be more intuitive since normal
yy
followed by aVp
doesn't swap two lines.The text was updated successfully, but these errors were encountered: