109 lines
2.2 KiB
Plaintext
109 lines
2.2 KiB
Plaintext
clear
|
|
|
|
|
|
Super_L+slash start
|
|
Escape end
|
|
ctrl+bracketleft end
|
|
|
|
j cut-left
|
|
k cut-down
|
|
l cut-up
|
|
semicolon cut-right
|
|
u cut-left,cut-up
|
|
i cut-right,cut-up
|
|
n cut-left,cut-down
|
|
m cut-right,cut-down
|
|
|
|
shift+j move-left
|
|
shift+k move-down
|
|
shift+l move-up
|
|
shift+semicolon move-right
|
|
shift+u move-left,move-up
|
|
shift+i move-right,move-up
|
|
shift+n move-left,move-down
|
|
shift+m move-right,move-down
|
|
|
|
space warp,click 1,end
|
|
Return warp,click 2,end
|
|
slash warp,end
|
|
Tab warp
|
|
1 click 1
|
|
2 click 2
|
|
3 click 3
|
|
|
|
w windowzoom
|
|
|
|
# Zoom to the cursor location
|
|
c cursorzoom 400 400
|
|
|
|
# Arrow keys can move the grid as welll
|
|
Left cut-left
|
|
Down cut-down
|
|
Up cut-up
|
|
Right cut-right
|
|
shift+Left move-left
|
|
shift+Down move-down
|
|
shift+Up move-up
|
|
shift+Right move-right
|
|
|
|
a history-back
|
|
|
|
# Record keynav actions (Had not tried yet)
|
|
q record
|
|
shift+at playback
|
|
|
|
|
|
|
|
|
|
|
|
### 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
|
|
# Dragging with modifiers
|
|
#q drag 1
|
|
#ctrl+q drag 1 ctrl
|
|
#shift+q drag 1 shift
|
|
#shift+ctrl+q drag 1 shift+ctrl
|
|
|
|
### Example of cut and move without the default values
|
|
#h cut-left .75
|
|
#j cut-down .75
|
|
#k cut-up .75
|
|
#l cut-right .75
|
|
#shift+h move-left .50
|
|
#shift+j move-down .50
|
|
#shift+k move-up .50
|
|
#shift+l move-right .50
|
|
|
|
### Example using a 2-row, 3-column grid,
|
|
# mapped to Insert/Home/PageUp/etc...
|
|
#6 grid 2x3
|
|
#Insert cell-select 1x1
|
|
#Home cell-select 1x2
|
|
#Prior cell-select 1x3 # PageUp
|
|
#Delete cell-select 2x1
|
|
#End cell-select 2x2
|
|
#Next cell-select 2x3 # PageDown
|
|
|
|
### Example using a 3x3 grid with nethack-vi keys
|
|
#ctrl+semicolon start, grid 3x3
|
|
#h cell-select 1x2 # left
|
|
#j cell-select 2x3 # down
|
|
#k cell-select 2x1 # up
|
|
#l cell-select 3x2 # right
|
|
#y cell-select 1x1 # up-left
|
|
#u cell-select 3x1 # up-right
|
|
#b cell-select 1x3 # down-left
|
|
#n cell-select 3x3 # down-right
|
|
#period cell-select 2x2 # center
|