Add post about clipboard handling.
[blog.git] / x11-clipboard.post
1 ;;;;;
2 title: X11 keybindings for easier terminal clipboard handling
3 date: 2015-02-12 15:35:15+01:00
4 format: md
5 ;;;;;
6
7 After years of annoyance with the X11 behaviour for clipboard and selection
8 handling with regards to terminal applications, I managed to find a good
9 compromise via some additional shortcurts in my window manager of choice, dwm
10 and terminal multiplexer, tmux.
11
12 Now, pressing `C-o p` (in tmux) pastes from X11 primary selection, `C-o P` from
13 the clipboard and `Linux-z` (meaning the key formerly known is Windows key)
14 exchanges clipboard and primary selection, so no more awkward pasting and
15 selecting with the mouse in order to get the correct string in the correct
16 location.
17
18 As before this is public at the
19 [customisations](https://github.com/Ferada/dwm/tree/customisations) branch on
20 Github; I still have to upload the tmux part though.