-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathkeynavrc
71 lines (58 loc) · 1.52 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
# Other special values are:
# 'clear' on a line by itself (no quotes) will erase all keybindings
# (including the defaults)
# 'daemonize' on a line by itself (no quotes) will make keynav background
# Project page; http://www.semicomplete.com/projects/keynav
clear
#daemonize
Super_L+h start, windowzoom
Super_L+shift+h start
# Super_L+h windowzoom
Escape end
q end
j cut-left
k cut-down
l cut-up
semicolon cut-right
shift+j move-left
shift+k move-down
shift+l move-up
shift+semicolon move-right
space warp,click 1,end
Return warp,click 1,end
ctrl+Return warp,click 3,end
Escape warp,end
w warp
z warp, click 1
x warp, click 2
c warp, click 3
v warp, click 4
b warp, click 5
d warp, click 5
n warp, click 6
m warp, click 7
comma warp, click 8
period warp, click 9
# Zoom to the current window
slash windowzoom
# Zoom to the cursor location with a given height and width
h cursorzoom 200 200
# Record keynav actions
Q record
### Example using the 'sh' command.
# Make firefox the active window
# f sh "xdotool windowactivate $(xdotool search -title -- '- Mozilla Firefox')", end
# Make a new tab in google chrome:
# t sh "xdotool windowactivate $(xdotool search --title -- '- Google Chrome' | head -1); xdotool key ctrl+t",end
# Paste
# v sh "xdotool key shift+Insert"
### Drag examples
# Start drag holding the left mouse button
#q drag 1
# Start drag holding middle mouse + control and shift
#w drag 2 ctrl+shift
### History
u history-back
### Example of cut and move without the default values
#h cut-left .75
#shift+h move-left .50