From e2ed25077e4123f9ccba709e4c7dc623a697a192 Mon Sep 17 00:00:00 2001 From: Olof-Joachim Frahm Date: Thu, 12 Feb 2015 15:41:09 +0100 Subject: [PATCH] Add post about clipboard handling. --- x11-clipboard.post | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 x11-clipboard.post diff --git a/x11-clipboard.post b/x11-clipboard.post new file mode 100644 index 0000000..4c6f264 --- /dev/null +++ b/x11-clipboard.post @@ -0,0 +1,20 @@ +;;;;; +title: X11 keybindings for easier terminal clipboard handling +date: 2015-02-12 15:35:15+01:00 +format: md +;;;;; + +After years of annoyance with the X11 behaviour for clipboard and selection +handling with regards to terminal applications, I managed to find a good +compromise via some additional shortcurts in my window manager of choice, dwm +and terminal multiplexer, tmux. + +Now, pressing `C-o p` (in tmux) pastes from X11 primary selection, `C-o P` from +the clipboard and `Linux-z` (meaning the key formerly known is Windows key) +exchanges clipboard and primary selection, so no more awkward pasting and +selecting with the mouse in order to get the correct string in the correct +location. + +As before this is public at the +[customisations](https://github.com/Ferada/dwm/tree/customisations) branch on +Github; I still have to upload the tmux part though. -- 1.7.10.4