On 06/02/2024 21:57, Greg Wooledge wrote:
Anything that came from a desktop environment is pretty exotic to me. I'm pretty old-school. If xterm can't do it, then I'll call it exotic.
Rewrap on window resize is a convenient feature of libvte. Ctrl+Shift+V for xterm: xterm*vt100.translations: #override \n\ Shift~Ctrl <Key> Insert:insert-selection(PRIMARY, CUT_BUFFER0) \n\ Shift Ctrl <Key> Insert:insert-selection(CLIPBOARD) \n\Shift Ctrl <Key>C: exec-formatted("sh -c 'xsel --output --primary | \
exec xsel --input --clipboard'", PRIMARY)\n\ Shift Ctrl <Key>V: insert-selection(CLIPBOARD)
As to + and * registers. What kind of vim do you use? At least vim-gtk3 provides console vim binary built with x11 support. Perhaps it is +xterm_clipboard option.unicorn:~$ vim --version | sed -n -e 1,2p -e /GUI/p -e /clip/p VIM - Vi IMproved 9.0 (2022 Jun 28, compiled May 04 2023 10:24:44) Included patches: 1-1378, 1499 Huge version without GUI. Features included (+) or not (-): -clipboard +keymap +printer +vertsplit +eval -mouse_jsbterm -sun_workshop -xterm_clipboard
If you do not like vim-gtk3, perhaps vim-motif has support of * and + registers.