]> git.lizzy.rs Git - micro.git/blobdiff - runtime/help/keybindings.md
some additions to the plugin API
[micro.git] / runtime / help / keybindings.md
index 73e95a6c7c2c354dc3ba38ac9aff42eb04d90d4e..7d9eed196a3ec12e85a4e1c5ebcb0f8694c4ef1e 100644 (file)
@@ -45,11 +45,13 @@ you can rebind them to your liking.
        "CtrlD":          "DuplicateLine",
        "CtrlV":          "Paste",
        "CtrlA":          "SelectAll",
-       "CtrlT":          "AddTab"
+       "CtrlT":          "AddTab",
        "CtrlRightSq":    "PreviousTab",
        "CtrlBackslash":  "NextTab",
        "Home":           "Start",
        "End":            "End",
+       "CtrlHome":       "CursorStart",
+       "CtrlEnd":        "CursorEnd",
        "PageUp":         "CursorPageUp",
        "PageDown":       "CursorPageDown",
        "CtrlG":          "ToggleHelp",
@@ -61,6 +63,8 @@ you can rebind them to your liking.
        "CtrlQ":          "Quit",
        "CtrlE":          "CommandMode",
        "CtrlW":          "NextSplit",
+       "CtrlU":          "ToggleMacro",
+       "CtrlJ":          "PlayMacro",
        
        // Emacs-style keybindings
        "Alt-f": "WordRight",
@@ -68,7 +72,15 @@ you can rebind them to your liking.
        "Alt-a": "StartOfLine",
        "Alt-e": "EndOfLine",
        "Alt-p": "CursorUp",
-       "Alt-n": "CursorDown"
+       "Alt-n": "CursorDown",
+
+       // Integration with file managers
+       "F1": "ToggleHelp",
+       "F2": "Save",
+       "F4": "Quit",
+       "F7": "Find",
+       "F10": "Quit",
+       "Esc": "Quit",
 }
 ```
 
@@ -136,8 +148,10 @@ InsertNewline
 InsertSpace
 Backspace
 Delete
+Center
 InsertTab
 Save
+SaveAs
 Find
 FindNext
 FindPrevious
@@ -168,11 +182,14 @@ ClearStatus
 ShellMode
 CommandMode
 Quit
+QuitAll
 AddTab
 PreviousTab
 NextTab
 NextSplit
 PreviousSplit
+ToggleMacro
+PlayMacro
 ```
 
 Here is the list of all possible keys you can bind: