Text · 2251 bytes Raw Blame History
1 # Default Keybindings
2
3 These keybindings are active when your config defines no `gar.bind()` calls. As soon as you define any keybind in your config, the defaults are completely replaced you need to explicitly bind everything you want.
4
5 All keybinds below use `mod` as the modifier, which defaults to Command.
6
7 ## Basic actions
8
9 | Keybind | Action |
10 |---------|--------|
11 | `mod + Return` | Spawn terminal |
12 | `mod + Shift + Q` | Close focused window |
13 | `mod + E` | Equalize all split ratios |
14 | `mod + Shift + Space` | Toggle floating |
15
16 ## Focus (vim keys)
17
18 | Keybind | Action |
19 |---------|--------|
20 | `mod + H` | Focus left |
21 | `mod + J` | Focus down |
22 | `mod + K` | Focus up |
23 | `mod + L` | Focus right |
24
25 ## Focus (arrow keys)
26
27 | Keybind | Action |
28 |---------|--------|
29 | `mod + Left` | Focus left |
30 | `mod + Down` | Focus down |
31 | `mod + Up` | Focus up |
32 | `mod + Right` | Focus right |
33
34 ## Swap (vim keys)
35
36 | Keybind | Action |
37 |---------|--------|
38 | `mod + Shift + H` | Swap left |
39 | `mod + Shift + J` | Swap down |
40 | `mod + Shift + K` | Swap up |
41 | `mod + Shift + L` | Swap right |
42
43 ## Swap (arrow keys)
44
45 | Keybind | Action |
46 |---------|--------|
47 | `mod + Shift + Left` | Swap left |
48 | `mod + Shift + Down` | Swap down |
49 | `mod + Shift + Up` | Swap up |
50 | `mod + Shift + Right` | Swap right |
51
52 ## Resize
53
54 | Keybind | Action |
55 |---------|--------|
56 | `mod + Ctrl + H` | Resize left |
57 | `mod + Ctrl + J` | Resize down |
58 | `mod + Ctrl + K` | Resize up |
59 | `mod + Ctrl + L` | Resize right |
60
61 ## Workspaces
62
63 | Keybind | Action |
64 |---------|--------|
65 | `mod + 1` through `mod + 9` | Switch to workspace 1-9 |
66 | `mod + 0` | Switch to workspace 10 |
67 | `mod + Shift + 1` through `mod + Shift + 9` | Move window to workspace 1-9 |
68 | `mod + Shift + 0` | Move window to workspace 10 |
69
70 ## Config
71
72 | Keybind | Action |
73 |---------|--------|
74 | `mod + Shift + R` | Reload config |
75
76 ## Not bound by default
77
78 These actions exist but have no default keybind. Add them in your config if you want them:
79
80 - `toggle-special NAME` toggle scratchpad
81 - `move-to-special NAME` send window to scratchpad
82 - `focus-monitor next|prev` cycle monitors
83 - `move-to-monitor next|prev` move window between monitors
84 - `workspace next|prev` cycle workspaces
85