index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (1265B) | |
--- | |
1 line\_snap\_delimiter | |
2 ===================== | |
3 | |
4 Description | |
5 ----------- | |
6 The primary use-case would be snap selecting a line in a terminal | |
7 multiplexer like tmux. Such selection would typically select across | |
8 all panes, whereas the user most likely wanted to select only the line | |
9 within a pane. | |
10 | |
11 This patch adds following new variable into `config.def.h`: | |
12 * `snap_line_delimiters`: this is the array of (multi-byte) characters w… | |
13 will terminate a line snap selection. By defau… | |
14 contains the `tmux` window pane separator `│… | |
15 | |
16 Notes | |
17 ----- | |
18 * When snap selecting a line and dragging it, the selection can span mul… | |
19 panes. It's probably possible to address this in follow-up patches. | |
20 | |
21 * The new delimiter variable does *not* affect word snap selection. If y… | |
22 to ignore certain characters when double tapping a word for seleciton,… | |
23 character to `worddelimiters` in `config.def.h`. However, if a word sn… | |
24 does select the line snap delimiter, a subsequent line snap selection … | |
25 that character again anyway. | |
26 | |
27 Download | |
28 -------- | |
29 * [st-line\_snap\_delimiter-3bd7e43.diff](st-line_snap_delimiter-3bd7e43… | |
30 | |
31 Authors | |
32 ------- | |
33 * Michael Buch - <[email protected]> |