4 ms·
I love Tmux, I just can't seem to wrap my head on how to COPY and PASTE something lol. Anyone have any step, by step tutorial for how to copy and paste like VIM
by adventist 10y ago
I love Tmux, I just can't seem to wrap my head on how to COPY and PASTE something lol. Anyone have any step, by step tutorial for how to copy and paste like VIM? I would like to be able to see what is being copied just like in VIM's visual mode. Like If I can copy some code in VIM and then go to paste in another REPL pane in TMUX then that would be my ideal goal!
- drieddust 10y agoCopy mode is your friend and article does have a section o that so i think you should be using those settings.
- merlincorey 10y agoBy default it's: C-b [ Start copy mode C stands for CTRL, by the way. This allows you to scroll up in the window and place the cursor where you want to start copying, then: C-SPACE Set mark This sets the mark for copying, then you can move around and what will be copied will be hilighted with a background color. M-w Copy selection This copies the selection. Incidentally, M stands for "meta" and is nearly always usable with ESC, but often ALT will work in many terminals (some need a setting to enable it). To paste, go to the buffer you want to paste into and then: C-b ] Paste!