4 ms·
I use the vi mode for tmux and my shell (zsh). I configured tmux and neovim to copy into the system clipboard (not for the shell, I did not search to be honest)
by bengalister 6y ago
I use the vi mode for tmux and my shell (zsh).
I configured tmux and neovim to copy into the system clipboard (not for the shell, I did not search to be honest)
Thus to copy I use the y (yield) key, with optional selection keys like iw (in word), t<char> (to <char> included), f<char>( to <char> not included), etc.
But my mouse selection copy works differently between vim and tmux. In vim, when I select text with the mouse I have to press y to copy it. In tmux it is copied without pressing any key. So there is improvement here because often the paste fails after selecting text in vim because I forgot to press the y key.
tmux is what made drop tiling window managers after I realized I was only using tiling in a terminal. (I use Gnome on Linux.)
- bengalister 6y agoI realized that the mouse selection automatic copy is due to the tmux yank plugin.