-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.lesskey
97 lines (85 loc) · 1.95 KB
/
.lesskey
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# bindings for colemak: https://github.com/bunnyfly/dotfiles/blob/master/lesskey
# http://linux.die.net/man/1/lesskey
# have to lesskey ~/.lesskey to change bindings
#command
n forw-line
N forw-line-force
e back-line
E back-line-force
f forw-screen
# b back-screen
/ forw-search
? back-search
k repeat-search
K reverse-search
g goto-line
G goto-end
% percent
# straight from vimrc
# replace commentchars; replace "nnoremap <silent> " with nothing
# replace ":silent !" with "shell "
# replace <cr> with \r
# tmux experimentation#{{{
# #r# is redraw#{{{
# window switching#{{{
ra shell tmux select-window -t 1\r
rr shell tmux select-window -t 2\r
rs shell tmux select-window -t 3\r
rt shell tmux select-window -t 4\r
rd shell tmux select-window -t 5\r
rh shell tmux select-window -t 6\r
rn shell tmux select-window -t 7\r
re shell tmux select-window -t 8\r
ri shell tmux select-window -t 9\r
ro shell tmux select-window -t 10\r
#}}}
# resize panes#{{{
rmh shell tmux resize-pane -L 10\r
rmn shell tmux resize-pane -D 5\r
rme shell tmux resize-pane -U 5\r
rmi shell tmux resize-pane -R 10\r
#}}}
# circulate
# previous
r, shell tmux swap-pane -U\r
# next
r. shell tmux swap-pane -D\r
# new session
r_ shell tmux new-session\r
# new window
rc shell tmux new-window\r
# kill pane
rx shell tmux kill-pane\r
# last window
rl shell tmux last-window\r
# split windows
r/ shell tmux split-window -h\r
r- shell tmux split-window\r
# break pane
r! shell tmux break-pane\r
#}}}
# #s# is select#{{{
# panes#{{{
# directions
sh shell tmux select-pane -L\r
sn shell tmux select-pane -D\r
se shell tmux select-pane -U\r
si shell tmux select-pane -R\r
# last
sl shell tmux select-pane -l\r
# select layout
sv shell tmux select-layout main-vertical\r
# toggle #monocle# (zoom)
st shell tmux resize-pane -Z\r
#}}}
# select session
ss shell tmux choose-client\r
#}}}
#}}}
#copy mode (not in vimrc)
v shell tmux copy-mode\r
#env
# use smart case
LESS = -i
EDITOR = gvim
LESSCHARSET = utf-8