Micro Cheat Sheet: Unterschied zwischen den Versionen

Aus Matts Wiki
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
Every shortcut starting with <code>></code> symbolizes, that command bar was opened first with <code>Ctrl + e</code> which leads to the command bar showing up in the bottom line of the editor represented by <code>></code> .
Every shortcut starting with <code>></code> symbolizes, that command bar was opened first with <code>Ctrl + e</code> which leads to the command bar showing up in the bottom line of the editor represented by <code>></code> .


== Navigation ==
== Keybindings and Shortcuts ==
 
=== Navigation ===
{| class="wikitable"
{| class="wikitable"
!Shortcut
!Shortcut
Zeile 15: Zeile 17:
|}
|}


== Tabs ==
=== Tabs ===
{| class="wikitable"
{| class="wikitable"
!Shortcut
!Shortcut
Zeile 33: Zeile 35:
|}
|}


== Handling Windows ==
=== Handling Windows ===
{| class="wikitable"
{| class="wikitable"
!Shortcut
!Shortcut
Zeile 41: Zeile 43:
|Split  
|Split  
|}
|}
=== Multiple cursors ===
{| class="wikitable"
!Key
!Description of function
|-
|Alt + n
|Create new multiple cursor from selection (will select current word if no current selection)
|-
|Alt + Shift + Up
|Spawn a new cursor on the line above the current one. Also see hint below.
|-
|Alt + Shift + Down
|Spawn a new cursor on the line below the current one. Also see hint below.
|-
|Alt + p
|Remove latest multiple cursor
|-
|Alt + c
|Remove all multiple cursors (cancel)
|-
|Alt + x
|Skip multiple cursor selection
|-
|Alt + m
|Spawn a new cursor at the beginning of every line in the current selection
|-
|Ctrl + MouseLeft
|Place a multiple cursor at any location
|}
'''Hint:''' In Windows 11 terminal the key combinations Alt + Shift + Up and Alt + Shift + Down in Micro do not work by default as these key bindings are already occupied in Windows 11 terminal settings. To have them working in micro properly you need to go to Windows 11 terminal settings and remove these key bindings.


== Run Terminal Commands ==
== Run Terminal Commands ==

Version vom 22. November 2025, 14:07 Uhr

This article holds my cheat notes for the Micro terminal based text editor.

Every shortcut starting with > symbolizes, that command bar was opened first with Ctrl + e which leads to the command bar showing up in the bottom line of the editor represented by > .

Keybindings and Shortcuts

Navigation

Shortcut Action
Ctrl + e Open command bar
Ctrl + w Switch between splits

Tabs

Shortcut Action
Ctrl + t Open new tab
Alt + , Previous tab
Alt + . Next tab
Ctrl + q Close tab

Handling Windows

Shortcut Action
> vsplit Split

Multiple cursors

Key Description of function
Alt + n Create new multiple cursor from selection (will select current word if no current selection)
Alt + Shift + Up Spawn a new cursor on the line above the current one. Also see hint below.
Alt + Shift + Down Spawn a new cursor on the line below the current one. Also see hint below.
Alt + p Remove latest multiple cursor
Alt + c Remove all multiple cursors (cancel)
Alt + x Skip multiple cursor selection
Alt + m Spawn a new cursor at the beginning of every line in the current selection
Ctrl + MouseLeft Place a multiple cursor at any location

Hint: In Windows 11 terminal the key combinations Alt + Shift + Up and Alt + Shift + Down in Micro do not work by default as these key bindings are already occupied in Windows 11 terminal settings. To have them working in micro properly you need to go to Windows 11 terminal settings and remove these key bindings.

Run Terminal Commands

Ctrl + b and type terminal command for single commands.

> term for a full terminal window. Do a hsplit or vsplit first to have them both side by side

Configuration

Soft Word Wrap

> set softwrap on

Cliboard

> set clipboard terminal - I don't know what this does nor what the default value is