diff options
| author | 2018-11-30 00:22:50 +0100 | |
|---|---|---|
| committer | 2018-11-30 00:22:50 +0100 | |
| commit | a6e8799fac3d06ae15ceb662bc0424501e4c003c (patch) | |
| tree | 411c7a86c790b3369e83a9ba00e64867676f5400 /chunkwm/.skhdrc | |
| parent | 4028df8bdbde8d8ae8960619b9f848fe01757310 (diff) | |
| download | dotfiles-a6e8799fac3d06ae15ceb662bc0424501e4c003c.tar.gz dotfiles-a6e8799fac3d06ae15ceb662bc0424501e4c003c.tar.bz2 dotfiles-a6e8799fac3d06ae15ceb662bc0424501e4c003c.zip | |
Better keybindings
Diffstat (limited to 'chunkwm/.skhdrc')
| -rw-r--r-- | chunkwm/.skhdrc | 43 |
1 files changed, 15 insertions, 28 deletions
diff --git a/chunkwm/.skhdrc b/chunkwm/.skhdrc index 5336e71..a1c97d1 100644 --- a/chunkwm/.skhdrc +++ b/chunkwm/.skhdrc | |||
| @@ -82,27 +82,20 @@ | |||
| 82 | # "qutebrowser" : echo "hello qutebrowser" | 82 | # "qutebrowser" : echo "hello qutebrowser" |
| 83 | # "finder" : false | 83 | # "finder" : false |
| 84 | # ] | 84 | # ] |
| 85 | # | ||
| 86 | shift + cmd - r : brew services restart chunkwm | ||
| 85 | 87 | ||
| 86 | # open terminal, blazingly fast compared to iTerm/Hyper | 88 | # open terminal, blazingly fast compared to iTerm/Hyper |
| 87 | cmd - return : /Applications/Kitty.app/Contents/MacOS/kitty --single-instance -d ~ | 89 | cmd - return : /Applications/Kitty.app/Contents/MacOS/kitty --single-instance -d ~ |
| 88 | 90 | ||
| 89 | # open qutebrowser | ||
| 90 | cmd + shift - return : ~/Scripts/qtb.sh | ||
| 91 | |||
| 92 | # open mpv | ||
| 93 | cmd - m : open -na /Applications/mpv.app $(pbpaste) | ||
| 94 | |||
| 95 | # close focused window | 91 | # close focused window |
| 96 | alt - w : chunkc tiling::window --close | 92 | shift + cmd - c : chunkc tiling::window --close |
| 97 | 93 | ||
| 98 | # focus window | 94 | # focus window |
| 99 | alt - h : chunkc tiling::window --focus west | 95 | cmd - h : chunkc tiling::window --focus west |
| 100 | alt - j : chunkc tiling::window --focus south | 96 | cmd - j : chunkc tiling::window --focus south |
| 101 | alt - k : chunkc tiling::window --focus north | 97 | cmd - k : chunkc tiling::window --focus north |
| 102 | alt - l : chunkc tiling::window --focus east | 98 | cmd - l : chunkc tiling::window --focus east |
| 103 | |||
| 104 | cmd - j : chunkc tiling::window --focus prev | ||
| 105 | cmd - k : chunkc tiling::window --focus next | ||
| 106 | 99 | ||
| 107 | # equalize size of windows | 100 | # equalize size of windows |
| 108 | shift + alt - 0 : chunkc tiling::desktop --equalize | 101 | shift + alt - 0 : chunkc tiling::desktop --equalize |
| @@ -191,17 +184,11 @@ ctrl + cmd - 1 : chunkc tiling::window --send-to-monitor 1; chunkc tiling::moni | |||
| 191 | ctrl + cmd - 2 : chunkc tiling::window --send-to-monitor 2; chunkc tiling::monitor -f 2 | 184 | ctrl + cmd - 2 : chunkc tiling::window --send-to-monitor 2; chunkc tiling::monitor -f 2 |
| 192 | ctrl + cmd - 3 : chunkc tiling::window --send-to-monitor 3; chunkc tiling::monitor -f 3 | 185 | ctrl + cmd - 3 : chunkc tiling::window --send-to-monitor 3; chunkc tiling::monitor -f 3 |
| 193 | 186 | ||
| 194 | # increase region size | 187 | # Resize region |
| 195 | shift + alt - a : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge west | 188 | ctrl + cmd - h : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge west; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge east |
| 196 | shift + alt - s : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge south | 189 | ctrl + cmd - j : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge south; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge north |
| 197 | shift + alt - w : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge north | 190 | ctrl + cmd - k : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge north; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge south |
| 198 | shift + alt - d : chunkc tiling::window --use-temporary-ratio 0.1 --adjust-window-edge east | 191 | ctrl + cmd - l : chunkc tiling::window --use-temporary-ratio 0.05 --adjust-window-edge east; chunkc tiling::window --use-temporary-ratio -0.05 --adjust-window-edge west |
| 199 | |||
| 200 | # decrease region size | ||
| 201 | shift + cmd - a : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge west | ||
| 202 | shift + cmd - s : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge south | ||
| 203 | shift + cmd - w : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge north | ||
| 204 | shift + cmd - d : chunkc tiling::window --use-temporary-ratio -0.1 --adjust-window-edge east | ||
| 205 | 192 | ||
| 206 | # set insertion point for focused container | 193 | # set insertion point for focused container |
| 207 | ctrl + alt - f : chunkc tiling::window --use-insertion-point cancel | 194 | ctrl + alt - f : chunkc tiling::window --use-insertion-point cancel |
| @@ -223,13 +210,13 @@ alt - x : chunkc tiling::desktop --mirror horizontal | |||
| 223 | alt - a : chunkc tiling::desktop --toggle offset | 210 | alt - a : chunkc tiling::desktop --toggle offset |
| 224 | 211 | ||
| 225 | # toggle window fullscreen | 212 | # toggle window fullscreen |
| 226 | alt - f : chunkc tiling::window --toggle fullscreen | 213 | cmd - f : chunkc tiling::window --toggle fullscreen |
| 227 | 214 | ||
| 228 | # toggle window native fullscreen | 215 | # toggle window native fullscreen |
| 229 | shift + alt - f : chunkc tiling::window --toggle native-fullscreen | 216 | shift + cmd - f : chunkc tiling::window --toggle native-fullscreen |
| 230 | 217 | ||
| 231 | # toggle window parent zoom | 218 | # toggle window parent zoom |
| 232 | alt - d : chunkc tiling::window --toggle parent | 219 | cmd - d : chunkc tiling::window --toggle parent |
| 233 | 220 | ||
| 234 | # toggle window split type | 221 | # toggle window split type |
| 235 | alt - e : chunkc tiling::window --toggle split | 222 | alt - e : chunkc tiling::window --toggle split |
