2 ms·
Thanks, this is very interesting. I agree one of the major pain points of X11 systems, terminals, etc is the clipboard. So many different concepts and shortcut
by nextos 10y ago
Thanks, this is very interesting.
I agree one of the major pain points of X11 systems, terminals, etc is the clipboard. So many different concepts and shortcuts across programs.
I use xmonad, urxvt or xterm, emacs-nox and vimperator. I'm trying to make all them consistent. Perhaps the last thing to polish in my setup.
- devereaux 10y ago/bin/stty start "" stop "" intr ^x add to .inputrc: "\C-q": quoted-insert Then remap copy to ctrl-c, and paste to ctrl-v, and ctrl-x will work like your old ctrl-c, while ctrl-q will work like your old ctrl-v. remapping is easy with roxterm. I suppose xterm and urxvt can do the same. If you like to remove part of words in bash, the following can be helpful too: "\C-s": backward-kill-word "\C-g": kill-word "\C-w": unix-word-rubout Kill word vs word-rubout is a matter of taste, and which separators are in your filenames.
- ramblenode 10y agoNot ideal, but the best solution I've found so far for moving text between the command line and other applications in urxvt is setting Bash to vi mode and then using visual mode for yanking/putting. I have Vim as my $EDITOR, which is opened when entering visual mode (I believe opening the editor is default Bash behavior). Vim is set to use the system clipboard ("set clipboard=unnamedplus" in the .vimrc) so from there I can bus text to/from other applications. Dealing with stdout/err is another beast...