zellij
zellij copied to clipboard
Support double clicking to select on word boundaries
I see myself prefer the shift+click selection mode of my terminal emulator, because I can use double-click to select whole words. Double clicking and dragging selects the word under the cursor and extends the selection word-wise. This reduces the need to aim the cursor at character precision, which is very comfortable.
I need to reach out to zellij's selection only when I want to copy multiple lines, where the pane borders get in the way would I use the terminal's selection. It would be nice for zellij to support the described double-clicking behaviour as well.
vote +1
vote +1
vote +1
Please just give thumbs up on the top issue to prevent spam :)
Shouldn't this behaviour be entirely controlled by the terminal emulator (app), rather than by zellij?
Please just give thumbs up on the top issue to prevent spam :)
Shouldn't this behaviour be entirely controlled by the terminal emulator (app), rather than by zellij?
While that would be nice, I fear it would no longer be possible to click and drag the selection beyond the currently visible area (i.e. drag up and have Zellij scroll up while selecting text)...
Please just give thumbs up on the top issue to prevent spam :)
Shouldn't this behaviour be entirely controlled by the terminal emulator (app), rather than by zellij?
The terminal app does normally provide this functionality (and every terminal I've used has it), but you have to disable zellij's mouse_mode
to get it back (which I'd rather not do because I like the feature).
The terminal emulator is not aware of zellij's panes and using its selection is unsuited when more than one line should be selected:
Triple click to select an entire line is also useful for the same reasons
If this is hard to implement, it would be a good idea to make the fullscreen borderless, this will allow the use of the terminal selection (typically with shift) with double and triple click without the border characters.
Yes, we definitely need Zellij to support double-click to select words, and drag to extend the selection.
As part of that, we would need the ability to define the character set for delimiting 'word' boundaries.
If this is hard to implement, it would be a good idea to make the fullscreen borderless, this will allow the use of the terminal selection (typically with shift) with double and triple click without the border characters.
I find this enough for me in Windows Terminal. Shift+DblC
for a word selection and Shift+RgtC
for de-selection.