3 ms·
Regarding scrolling, I just have a keybind which dumps the scrollback buffer into vim in a new window. Works great for copying or searching things.
by PhilipRoman 2y ago
Regarding scrolling, I just have a keybind which dumps the scrollback buffer into vim in a new window. Works great for copying or searching things.
- philo_sophia 2y agoTmux allows reverse search of the text on the screen and add the tmux-yank plugin to directly copy highlighted text onto your system clipboard https://github.com/tmux-plugins/tmux-yank https://github.com/tmux-plugins/tmux-yank
- PhilipRoman 2y agoAs far as I know tmux already copies things straight to X11 clipboard by default (at least in version 3.5a) and no configuration aside from enabling mouse is necessary. For me, customized Vim search is just miles ahead of everything else so I prefer that (not just for the search, but also to open files with gF, etc.). I also have a couple binds in Vim to deal with tmux: vnoremap <leader>ty "ty:call system('tmux loadb -', getreg("@t"))<cr> nnoremap <leader>ty "tyiw:call system('tmux loadb -', getreg("@t"))<cr> nnoremap <leader>tp :let @t=system('tmux showb')<cr>"tP