mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-30 06:37:14 +09:00
Usability integration with file managers
This commit is contained in:
@@ -405,7 +405,6 @@ func DefaultBindings() map[string]string {
|
|||||||
"CtrlR": "ToggleRuler",
|
"CtrlR": "ToggleRuler",
|
||||||
"CtrlL": "JumpLine",
|
"CtrlL": "JumpLine",
|
||||||
"Delete": "Delete",
|
"Delete": "Delete",
|
||||||
"Esc": "ClearStatus",
|
|
||||||
"CtrlB": "ShellMode",
|
"CtrlB": "ShellMode",
|
||||||
"CtrlQ": "Quit",
|
"CtrlQ": "Quit",
|
||||||
"CtrlE": "CommandMode",
|
"CtrlE": "CommandMode",
|
||||||
@@ -420,5 +419,13 @@ func DefaultBindings() map[string]string {
|
|||||||
"Alt-e": "EndOfLine",
|
"Alt-e": "EndOfLine",
|
||||||
"Alt-p": "CursorUp",
|
"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",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,6 +73,14 @@ you can rebind them to your liking.
|
|||||||
"Alt-e": "EndOfLine",
|
"Alt-e": "EndOfLine",
|
||||||
"Alt-p": "CursorUp",
|
"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",
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user