Skip to content
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

Support copy and paste from output #108

Open
dhleong opened this issue Feb 13, 2020 · 1 comment
Open

Support copy and paste from output #108

dhleong opened this issue Feb 13, 2020 · 1 comment
Labels

Comments

@dhleong
Copy link
Owner

dhleong commented Feb 13, 2020

The reason we disabled mouse support by default was probably because it breaks the terminal's built-in copy and paste. We can now disable mouse support on the fly, but we should probably consider how to do a visual selection mode in an output buffer to support copying more easily.

The most robust solution is a normal mode that navigates in the output buffer (we probably don't want to get into editing the output buffer) and can do selections with v. A less involved solution might be to handle mouse events to create selections, so we don't have to deal with focusing on and navigating in the output buffer.

@dhleong
Copy link
Owner Author

dhleong commented Feb 16, 2020

We could maybe use the <c-w>N mapping from vim's terminal mode to switch to "output normal mode" and jumps into the output window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant