screen.org (1279B)
1 #+TITLE: screenrc 2 #+PROPERTY: header-args:conf :tangle "xdg-config/screen/screenrc" :mkdirp t 3 4 * Keybindings 5 6 ** Escape 7 I use =C-t= because it's more comfortable, and doesn't get in the way 8 as much. 9 10 #+begin_src conf 11 escape ^Tt 12 #+end_src 13 14 ** Splits 15 16 | S | vertical | 17 | pipe | vertical | 18 | s | horizontal | 19 | underscore | horizontal | 20 |------------+---------------| 21 | R | remove window | 22 23 #+begin_src conf 24 bind S split -v 25 bind s split 26 bind | split -v 27 bind _ split 28 bind R remove 29 #+end_src 30 31 ** Copy 32 33 My attempt at emacs-like editing. 34 35 #+begin_src conf 36 markkeys h=^B:l=^F:$=^E:' '=^@:^M=^[w: 37 #+end_src 38 39 * Appearance 40 41 ** Status line 42 43 I have no idea how this arcane shit works. It sets up a mode-line 44 style thing with the following information. 45 46 [Host] [List of Windows] [Date Time] 47 48 #+begin_src conf 49 hardstatus off 50 hardstatus alwayslastline '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W} %c %{g}]' 51 #+end_src 52 53 ** Cursor 54 55 #+begin_src conf 56 exec echo -ne '\e[1 q' 57 #+end_src 58 59 * Scrollback 60 61 ** Set the default scrollback to a larger number 62 63 #+begin_src conf 64 defscrollback 10000 65 #+end_src 66 67 ** Remove blank lines 68 69 #+begin_src conf 70 compacthist on 71 #+end_src 72