4 ms·
> I can use the same modifier-key commands to select and manipulate text that I'm used to, which feels super nice. I know this is not a complete solution, but
by mananaysiempre 3y ago
> I can use the same modifier-key commands to select and manipulate text that I'm used to, which feels super nice.
I know this is not a complete solution, but just in case you weren’t aware, the keybindings in GNU Readline are nearly entirely configurable[1]. Getting some of the keybindings to work could require digging into serial terminal arcana[2], unfortunately, but here a terminal emulator that supports either the Kitty keyboard protocol[3] or the (venerable if impressively badly documented) modifyOtherKeys feature[4] could make things easier (messing with the serial driver[2] seems an overreaction to me, and you can’t get acceptable Ctrl-C behaviour that way anyway). The “new” terminal emulators mentioned in this thread (alacritty, contour, kitty, wezterm) should be able to do the trick, and of course xterm as well (probably rxvt too?); tmux compat needs help, though[5].
[1] https://tiswww.cwru.edu/php/chet/readline/rluserman.html#Bindable-Readline-Commands https://tiswww.cwru.edu/php/chet/readline/rluserman.html#Bin...
[2] https://susam.net/blog/from-xon-xoff-to-forward-incremental-search.html https://susam.net/blog/from-xon-xoff-to-forward-incremental-...
[3] https://sw.kovidgoyal.net/kitty/keyboard-protocol/ https://sw.kovidgoyal.net/kitty/keyboard-protocol/
[4] https://invisible-island.net/xterm/modified-keys.html https://invisible-island.net/xterm/modified-keys.html
[5] https://github.com/tmux/tmux/issues/3335 https://github.com/tmux/tmux/issues/3335