-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.screenrc
39 lines (31 loc) · 1013 Bytes
/
.screenrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- Mode: conf -*-
# Start from home
chdir $HOME
# bitches love utf-8
defutf8 on
defencoding UTF-8
setenv LC_CTYPE en_US.UTF-8
# Nice status bar with a unicode heart, you need to have a fresh screen
# installation, otherwise it will look ugly
backtick 1 60 60 $HOME/bin/my-screen-battery
hardstatus alwayslastline
hardstatus string "%{wK} %-w%{=b Ky}%n %t%{-}%{= Kw}%+w%{-} %> %=%{w}%1`"
# Further stuff
multiuser on
acladd lincoln
defscrollback 100000
startup_message off
term screen-256color
# Emacs-ish keybindings to move around regions
# C-Space mark region
markkeys ' '=^@
bindkey -m ^@ stuff ' '
# Navigation keys
markkeys ^B=Y:^F=V:h=^B:l=^F:0=^A:$=^ # basic ones keys
bindkey -m ^e stuff "\$^f" # special casing the line end
bindkey -m -k kP stuff Y # page up
bindkey -m -k kN stuff V # page down
# Black magic to move the cursors by words with 'b' and 'w'
markkeys B=[:E=]:b={:e=}:w=>
bindkey -m ^[Od stuff { # "[[}"
bindkey -m ^[Oc stuff ] # "}]^f"