-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.keynavrc
90 lines (74 loc) · 2.17 KB
/
.keynavrc
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
# See default configuration for more info
# https://github.com/jordansissel/keynav/blob/master/keynavrc
#
# Requires use of https://github.com/mgsloan/keynav , as I added the
# toggle-start command.
clear
# FIXME get this to work
BackSpace history-back # Should be made into default config items
# Starting / stopping
ctrl+semicolon toggle-start,windowzoom,warp
ctrl+shift+semicolon toggle-start,warp
mod4+v toggle-start,cursorzoom 1 1,click 2,end
# TODO: Choose another binding, conflicts with emacs eval binding
#
# FIXME: Why does this cause block selection in urxvt?
# alt+shift+semicolon toggle-start,cursorzoom 200 200,drag 1,windowzoom
Escape end
# Scrolling
alt+k warp,click 4
alt+j warp,click 5
alt+h warp,click 6
alt+l warp,click 7
# Clicking
Return warp,click 1,end
space warp,click 1,end
7 warp,click 1
8 warp,click 2
9 warp,click 3
# Dragging (click on drag start, then use this on end point)
shift+space warp,drag 1
shift+7 warp,drag 1
shift+8 warp,drag 2
shift+0 warp,drag 3
# Movement
h cut-left,warp
j cut-down,warp
k cut-up,warp
l cut-right,warp
y cut-left,cut-up,warp
o cut-right,cut-up,warp
n cut-left,cut-down,warp
period cut-right,cut-down,warp
shift+h move-left,warp
shift+j move-down,warp
shift+k move-up,warp
shift+l move-right,warp
shift+y move-left,move-up,warp
shift+o move-right,move-up,warp
shift+n move-left,move-down,warp
shift+period move-right,move-down,warp
# position cursor roughly at the top. Useful for clicking menus and things
i cut-up,cut-up,cut-up,cut-up,cut-up
## Duplication of the above, handy for holding ctrl while using keynav
ctrl+h cut-left,warp
ctrl+j cut-down,warp
ctrl+k cut-up,warp
ctrl+l cut-right,warp
ctrl+y cut-left,cut-up,warp
ctrl+o cut-right,cut-up,warp
ctrl+n cut-left,cut-down,warp
ctrl+period cut-right,cut-down,warp
ctrl+shift+h move-left,warp
ctrl+shift+j move-down,warp
ctrl+shift+k move-up,warp
ctrl+shift+l move-right,warp
ctrl+shift+y move-left,move-up,warp
ctrl+shift+o move-right,move-up,warp
ctrl+shift+n move-left,move-down,warp
ctrl+shift+period move-right,move-down,warp
## TODO: scrolling? Maybe just having pgdown / pgup on ergodox is enough
## Zoom to the current window
w windowzoom,warp
## History
u history-back,warp