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

select all / copy all #3081

Closed
Uj947nXmRqV2nRaWshKtHzTvckUUpD opened this issue Oct 17, 2020 · 4 comments
Closed

select all / copy all #3081

Uj947nXmRqV2nRaWshKtHzTvckUUpD opened this issue Oct 17, 2020 · 4 comments

Comments

@Uj947nXmRqV2nRaWshKtHzTvckUUpD

how can i select and copy all output ?

@InvisibleRain
Copy link

I assume you can do that with tmux regardless of the terminal being used.
According to this cheat-sheet, you need to:

  1. Start or attach to a tmux session with tmux or tmux a
  2. Switch tmux to vim-mode: tmux setw -g mode-keys vi
  3. (Optional) Save the setw -g mode-keys vi part in the ~/.tmux.conf config file
  4. Open tmux in copy mode by typing Ctrl+b followed by [ key
  5. Press Space to start selection, then move to the begining of output by pressing gg, and then copy into the tmux buffer with Enter
  6. You can paste the contents of the buffer by pressing Ctrl+b followed by ]

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

umm.. good workaround idea .. but it really needs something more simple and intuitive as a permanent solution like:
ctrl+a or right click > select all and then copy (ctrl+c or ctrl+shift+c)

...after all it is self proclaimed a modern-age terminal

@InvisibleRain
Copy link

Once you set this up, this is really simple. Alternatively, you can select everything by dragging the selection to the top of the terminal and then copying everything by either right-clicking or typing Ctrl+Shift+C

@Eugeny Eugeny closed this as completed in 247cf6f Apr 5, 2021
@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

the CTRL+SHIFT+A hotkey(added in 247cf6f) is not shown in the HOTKEYS settings. Could you please add it there as well?

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

No branches or pull requests

3 participants