3 Below are simple charts of the default hotkeys and their functions.
4 For more information about binding custom hotkeys or changing
5 default bindings, please run `>help keybindings`
7 Please remember that *all* keys here are rebindable!
8 If you don't like it, you can change it!
10 (We are not responsible for you forgetting what you bind keys to.
11 Do not open an issue because you forgot your keybindings.)
14 +--------+---------------------------------------------------------+
15 | Ctrl+E | Switch to the micro command prompt to run a command. |
16 | | (See `>help commands` for a list of commands. ) |
17 +--------+---------------------------------------------------------+
18 | Ctrl+B | Run shell commands in micro's current working directory.|
19 +--------+---------------------------------------------------------+
23 +--------+---------------------------------------------------------+
24 | Key | Description of function |
25 |--------+---------------------------------------------------------+
26 | Arrows | Move the cursor around your current document. |
27 | | (Yes this is rebindable to the vim keys if you want.) |
28 +--------+---------------------------------------------------------+
29 | Shift+ | Move and select text. |
31 +--------+---------------------------------------------------------+
32 | Home | Move to the beginning of the current line. (Naturally.) |
33 +--------+---------------------------------------------------------+
34 | End | Move to the end of the current line. |
35 +--------+---------------------------------------------------------+
36 | PageUp | Move cursor up lines quickly. |
37 +--------+---------------------------------------------------------+
38 | PageDn | Move cursor down lines quickly. |
39 +--------+---------------------------------------------------------+
40 | Ctrl+L | Jump to line in current file. ( Prompts for line # ) |
41 +--------+---------------------------------------------------------+
42 | Ctrl+W | Move between splits open in current tab. |
43 | | (See vsplit and hsplit in `>help commands`) |
44 +--------+---------------------------------------------------------+
45 | Ctrl+T | Open a new tab. |
46 +--------+---------------------------------------------------------+
47 | Alt+, | Move to the previous tab in the tablist. |
48 | | (This works like moving between file buffers in nano) |
49 +--------+---------------------------------------------------------+
50 | Alt+. | Move to the next tab in the tablist. |
51 +--------+---------------------------------------------------------+
55 +--------+---------------------------------------------------------+
56 | Ctrl+F | Find text in current file. ( Prompts for text to find.) |
57 +--------+---------------------------------------------------------+
58 | Ctrl+N | Find next instance of current search in current file. |
59 +--------+---------------------------------------------------------+
60 | Ctrl+P | Find prev instance of current search in current file. |
61 +--------+---------------------------------------------------------+
65 +--------+---------------------------------------------------------+
66 | Ctrl+Q | Close current file. ( Quits micro if last file open. ) |
67 +--------+---------------------------------------------------------+
68 | Ctrl+O | Open a file. ( Prompts you to input filename. ) |
69 +--------+---------------------------------------------------------+
70 | Ctrl+S | Save current file. |
71 +--------+---------------------------------------------------------+
75 +--------+---------------------------------------------------------+
76 | Ctrl+A | Select all text in current file. |
77 +--------+---------------------------------------------------------+
78 | Ctrl+X | Cut selected text. |
79 +--------+---------------------------------------------------------+
80 | Ctrl+C | Copy selected text. |
81 +--------+---------------------------------------------------------+
82 | Ctrl+V | Paste selected text. |
83 +--------+---------------------------------------------------------+
84 | Ctrl+K | Cut current line. ( Can then be pasted with Ctrl+V) |
85 +--------+---------------------------------------------------------+
86 | Ctrl+D | Duplicate current line. |
87 +--------+---------------------------------------------------------+
88 | Ctrl+Z | Undo actions. |
89 +--------+---------------------------------------------------------+
90 | Ctrl+Y | Redo actions. |
91 +--------+---------------------------------------------------------+
94 +--------+---------------------------------------------------------+
95 | Ctrl+G | Open the help file. |
96 +--------+---------------------------------------------------------+
97 | Ctrl+H | Alternate backspace. |
98 | | (Some old terminals don't support the Backspace key .) |
99 +--------+---------------------------------------------------------+
100 | Ctrl+R | Toggle the line number ruler. ( On the lefthand side.) |
101 +--------+---------------------------------------------------------+
105 +--------+---------------------------------------------------------+
106 | Alt+F | Move to the end of the next word. (To the next space.) |
107 +--------+---------------------------------------------------------+
108 | Alt+B | Move to the beginning of the previous word. |
109 +--------+---------------------------------------------------------+
110 | Alt+A | Alternate Home key. ( Move to beginning of line. ) |
111 +--------+---------------------------------------------------------+
112 | Alt+E | Alternate End key. ( Move to the end of line.) |
113 +--------+---------------------------------------------------------+
114 | Alt+P | Move cursor up. ( Same as up key. ) |
115 +--------+---------------------------------------------------------+
116 | Alt+N | Move cursor down. ( Same as down key. ) |
117 +--------+---------------------------------------------------------+
121 Warning! The function keys may not work in all terminals!
122 +--------+---------------------------------------------------------+
124 +--------+---------------------------------------------------------+
125 | F2 | Save current file. |
126 +--------+---------------------------------------------------------+
127 | F3 | Find in current file. ( Same as Ctrl+F ) |
128 +--------+---------------------------------------------------------+
129 | F4 | Close current file. (Quit if only file.) |
130 +--------+---------------------------------------------------------+
131 | F7 | Find in current file. (Same as Ctrl+F) |
132 +--------+---------------------------------------------------------+
133 | F10 | Close current file. |
134 +--------+---------------------------------------------------------+
138 Micro supports the use of keyboard macros. Simply press Ctrl+U to
139 begin recording a macro and press Ctrl+U to stop recording.
141 Press Ctrl+J to run your recorded macro.