Skip to content
This repository was archived by the owner on Dec 28, 2021. It is now read-only.

Commit b087871

Browse files
authored
use <kbd> intense of ``
1 parent 9084efd commit b087871

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,26 +44,24 @@ You can also use:
4444

4545
You can use the keys <kbd>Backspace</kbd> and <kbd>Return</kbd> / <kbd>Enter</kbd> as well as all the characters on your keyboard to edit files!
4646

47-
4847
`SM Settings Editor` is controlled via your keyboard shortcuts. Here are the default shortcuts that you can use:
4948

5049
| Keybinding | What it does |
5150
| ------------ | ------------ |
52-
| `Ctrl + Q` | Exits the current tab or the editor if only one tab open. |
53-
| `Ctrl + S` | Saves the open file to the disk. |
54-
| `Alt + S` | Prompts you for a file name and saves it to disk as that file name. |
55-
| `Ctrl + W` | Saves all the currently open files to the disk. |
56-
| `Ctrl + N` | Creates a new tab with a blank document. |
57-
| `Ctrl + O` | Prompts you for a file and opens that file in a new tab. |
58-
| `Ctrl + F` | Searches the document for a search query. Allows pressing of <kbd>↑</kbd> and <kbd>←</kbd> to move the cursor to the previous occurance fof the query and <kbd>↓</kbd> and <kbd>→</kbd> to move to the next occurance of the query. Press <kbd>Return</kbd> to cancel the search at the current cursor position or <kbd>Esc</kbd> to cancel the search and return to the initial location of the cursor. Note: this allows you to use regular expressions. |
59-
| `Ctrl + Z` | Undoes your last action. The changes are committed to the undo stack every time you press the space bar, create / destroy a new line and when there is no activity after a certain period of time which can be used to capture points where you pause for thought or grab a coffee etc... |
60-
| `Ctrl + Y` | Redoes your last action. The changes are committed to the undo stack every time you press the space bar, create / destroy a new line and when there is no activity after a certain period of time which can be used to capture points where you pause for thought or grab a coffee etc... |
61-
| `Ctrl + R` | Allows replacing of occurances in the document. Uses the same keybindings as the search feature: <kbd>↑</kbd> and <kbd>←</kbd> to move the cursor to the previous occurance fof the query and <kbd>↓</kbd> and <kbd>→</kbd> to move to the next occurance of the query. You can also press <kbd>Return</kbd>, <kbd>y</kbd> or <kbd>Space</kbd> to carry out the replace action. To exit replace mode once you're finished, you can press <kbd>Esc</kbd> to cancel and return back to your initial cursor position. Note: this allows you to use regular expressions. |
62-
| `Ctrl + A` | Carries out a batch replace option. It will prompt you for a target to replace and what you want to replace it with and will then replace every occurance in the document. Note: this allows you to use regular expressions. |
63-
| `Ctrl + Left` | Navigates to the previous tab. |
64-
| `Ctrl + Right` | Navigates to the next tab. |
65-
| `Alt + A` | Focuses the command line. |
66-
51+
| <kbd>Ctrl + Q</kbd> | Exits the current tab or the editor if only one tab open. |
52+
| <kbd>Ctrl + S</kbd> | Saves the open file to the disk. |
53+
| <kbd>Alt + S</kbd> | Prompts you for a file name and saves it to disk as that file name. |
54+
| <kbd>Ctrl + W</kbd> | Saves all the currently open files to the disk. |
55+
| <kbd>Ctrl + N</kbd> | Creates a new tab with a blank document. |
56+
| <kbd>Ctrl + P</kbd> | Prompts you for a file and opens that file in a new tab. |
57+
| <kbd>Ctrl + F</kbd> | Searches the document for a search query. Allows pressing of <kbd>↑</kbd> and <kbd>←</kbd> to move the cursor to the previous occurance fof the query and <kbd>↓</kbd> and <kbd>→</kbd> to move to the next occurance of the query. Press <kbd>Return</kbd> to cancel the search at the current cursor position or <kbd>Esc</kbd> to cancel the search and return to the initial location of the cursor. Note: this allows you to use regular expressions. |
58+
| <kbd>Ctrl + Z</kbd> | Undoes your last action. The changes are committed to the undo stack every time you press the space bar, create / destroy a new line and when there is no activity after a certain period of time which can be used to capture points where you pause for thought or grab a coffee etc... |
59+
| <kbd>Ctrl + Y</kbd> | Redoes your last action. The changes are committed to the undo stack every time you press the space bar, create / destroy a new line and when there is no activity after a certain period of time which can be used to capture points where you pause for thought or grab a coffee etc... |
60+
| <kbd>Ctrl + R</kbd> | Allows replacing of occurances in the document. Uses the same keybindings as the search feature: <kbd>↑</kbd> and <kbd>←</kbd> to move the cursor to the previous occurance fof the query and <kbd>↓</kbd> and <kbd>→</kbd> to move to the next occurance of the query. You can also press <kbd>Return</kbd>, <kbd>y</kbd> or <kbd>Space</kbd> to carry out the replace action. To exit replace mode once you're finished, you can press <kbd>Esc</kbd> to cancel and return back to your initial cursor position. Note: this allows you to use regular expressions. |
61+
| <kbd>Ctrl + A</kbd> | Carries out a batch replace option. It will prompt you for a target to replace and what you want to replace it with and will then replace every occurance in the document. Note: this allows you to use regular expressions. |
62+
| <kbd>Ctrl + Left</kbd> | Navigates to the previous tab. |
63+
| <kbd>Ctrl + Right</kbd> | Navigates to the next tab. |
64+
| <kbd>Alt + A</kbd> | Focuses the command line. |
6765

6866
## Roadmap
6967

0 commit comments

Comments
 (0)