Adding keybinding table to README.org

This commit is contained in:
Derek Taylor
2020-07-17 20:34:14 -05:00
parent 331f44c529
commit c4dbf9ea4e

View File

@@ -850,25 +850,25 @@ to be written in simpler, emacs-like format.
| A FEW IMPORTANT KEYBINDINGS | ASSOCIATED ACTION | | A FEW IMPORTANT KEYBINDINGS | ASSOCIATED ACTION |
|-----------------------------+----------------------------------------------------------------------| |-----------------------------+----------------------------------------------------------------------|
| `MODKEY + RETURN` | opens terminal (alacritty is the terminal but can be easily changed) | | MODKEY + RETURN | opens terminal (alacritty is the terminal but can be easily changed) |
| `MODKEY + SHIFT + RETURN` | opens run launcher (XMonad's shell xprompt) | | MODKEY + SHIFT + RETURN | opens run launcher (XMonad's shell xprompt) |
| `MODKEY + TAB` | rotates through the available layouts | | MODKEY + TAB | rotates through the available layouts |
| `MODKEY + SHIFT + c` | closes window with focus | | MODKEY + SHIFT + c | closes window with focus |
| `MODKEY + SHIFT + r` | restarts xmonad | | MODKEY + SHIFT + r | restarts xmonad |
| `MODKEY + SHIFT + q` | quits xmonad | | MODKEY + SHIFT + q | quits xmonad |
| `MODKEY + 1-9` | switch focus to workspace (1-9) | | MODKEY + 1-9 | switch focus to workspace (1-9) |
| `MODKEY + SHIFT + 1-9` | send focused window to workspace (1-9) | | MODKEY + SHIFT + 1-9 | send focused window to workspace (1-9) |
| `MODKEY + j` | windows focus down (switches focus between windows in the stack) | | MODKEY + j | windows focus down (switches focus between windows in the stack) |
| `MODKEY + k` | windows focus up (switches focus between windows in the stack) | | MODKEY + k | windows focus up (switches focus between windows in the stack) |
| `MODKEY + SHIFT + j` | windows swap down (swap windows in the stack) | | MODKEY + SHIFT + j | windows swap down (swap windows in the stack) |
| `MODKEY + SHIFT + k` | windows swap up (swap the windows in the stack) | | MODKEY + SHIFT + k | windows swap up (swap the windows in the stack) |
| `MODKEY + h` | shrink window (decreases window width) | | MODKEY + h | shrink window (decreases window width) |
| `MODKEY + l` | expand window (increases window width) | | MODKEY + l | expand window (increases window width) |
| `MODKEY + w` | switches focus to monitor 1 | | MODKEY + w | switches focus to monitor 1 |
| `MODKEY + e` | switches focus to monitor 2 | | MODKEY + e | switches focus to monitor 2 |
| `MODKEY + r` | switches focus to monitor 3 | | MODKEY + r | switches focus to monitor 3 |
| `MODKEY + period` | switch focus to next monitor | | MODKEY + period | switch focus to next monitor |
| `MODKEY + comma` | switch focus to prev monitor | | MODKEY + comma | switch focus to prev monitor |
#+BEGIN_SRC haskell #+BEGIN_SRC haskell
myKeys :: [(String, X ())] myKeys :: [(String, X ())]