diff --git a/Dashboard:-My-filters.md b/Dashboard:-My-filters.md index e70dd7b..244f612 100644 --- a/Dashboard:-My-filters.md +++ b/Dashboard:-My-filters.md @@ -11,7 +11,7 @@ uBO uses [CodeMirror's widget](https://codemirror.net/index.html) to freely edit The following keyboard shortcuts are available during editing -- most of them are handled by CodeMirror by default (I mostly lazily transcribed [CodeMirror's own documentation](https://codemirror.net/doc/manual.html#commands)): -|`____PC____`|`___Mac___`| Function | +|`______PC______`|`_____Mac_____`| Function | |----|-----|:---------| | Ctrl-A | Cmd-A | Select the whole content of the editor. | Ctrl-D | Cmd-D | Deletes the whole line under the cursor, including newline at the end. @@ -23,22 +23,22 @@ The following keyboard shortcuts are available during editing -- most of them ar | Ctrl-End | Cmd-End | Move the cursor to the end of the document. | Home | Home | Move to the start of the text on the line, or if we are already there, to the actual start of the line (including whitespace). | End | End | Move to the end of the line. -- Up, Mac: Ctrl-P: Move the cursor up one line. -- Down, Mac: Ctrl-N: Move down one line. -- Page Up, Mac: Shift-Ctrl-V: Move the cursor up one screen, and scroll up by the same distance. -- Page Down, Mac: Ctrl-V: Move the cursor down one screen, and scroll down by the same distance. -- Left, Mac: Ctrl-B: Move the cursor one character left, going to the previous line when hitting the start of line. -- Right, Mac: Ctrl-F: Move the cursor one character right, going to the next line when hitting the end of line. -- Ctrl-Left, Mac: Alt-Left: Move to the left of the group before the cursor. A group is a stretch of word characters, a stretch of punctuation characters, a newline, or a stretch of more than one whitespace character. -- Ctrl-Right, Mac: Alt-Right: Move to the right of the group after the cursor (see above). -- Backspace, Mac: Ctrl-H: Delete the character before the cursor. -- Delete, Mac: Ctrl-D: Delete the character after the cursor. -- Ctrl-Backspace, Mac: Alt-Backspace: Delete to the left of the group before the cursor. -- Ctrl-Delete, Mac: Alt-Delete: Delete to the start of the group after the cursor. -- Ctrl-], Mac: Cmd-]: Indent the current line or selection by one indent unit. -- Ctrl-[, Mac: Alt-[: Dedent the current line or selection by one indent unit. -- uBO-specific: Tab: Toggle prepending the current line or the lines in the current selection with `! ` (to quickly toggle the commenting out of filters). -- Ctrl-S, Mac: Cmd-S: Save and apply the changes, if any. -- Ctrl-F, Mac: Cmd-F: Find a string. Wrap around `/` to search against a regular expression. -- Ctrl-G, Mac: Cmd-G: Find next occurrence after the current cursor position. -- Shift-Ctrl-G, Mac: Shift-Cmd-G: Find previous occurrence before the current cursor position. +| Up | Ctrl-P | Move the cursor up one line. +| Down | Ctrl-N | Move down one line. +| Page Up | Shift-Ctrl-V | Move the cursor up one screen, and scroll up by the same distance. +| Page Down | Ctrl-V | Move the cursor down one screen, and scroll down by the same distance. +| Left | Ctrl-B | Move the cursor one character left, going to the previous line when hitting the start of line. +| Right | Ctrl-F | Move the cursor one character right, going to the next line when hitting the end of line. +| Ctrl-Left | Alt-Left | Move to the left of the group before the cursor. A group is a stretch of word characters, a stretch of punctuation characters, a newline, or a stretch of more than one whitespace character. +| Ctrl-Right | Alt-Right | Move to the right of the group after the cursor (see above). +| Backspace | Ctrl-H | Delete the character before the cursor. +| Delete | Ctrl-D | Delete the character after the cursor. +| Ctrl-Backspace | Alt-Backspace | Delete to the left of the group before the cursor. +| Ctrl-Delete | Alt-Delete | Delete to the start of the group after the cursor. +| Ctrl-] | Cmd-] | Indent the current line or selection by one indent unit. +| Ctrl-[ | Alt-[ | Dedent the current line or selection by one indent unit. +| Tab | Tab | uBO-specific: Toggle prepending the current line or the lines in the current selection with `! ` (to quickly toggle the commenting out of filters). +| Ctrl-S | Cmd-S | Save and apply the changes, if any. +| Ctrl-F | Cmd-F | Find a string. Wrap around `/` to search against a regular expression. +| Ctrl-G | Cmd-G | Find next occurrence after the current cursor position. +| Shift-Ctrl-G | Shift-Cmd-G | Find previous occurrence before the current cursor position.