Last active
July 18, 2024 22:03
-
-
Save henri/0e55eb61896baef0f6015ea955705363 to your computer and use it in GitHub Desktop.
micro text editor cheatsheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# link to plugins : | |
https://micro-editor.github.io/plugins.html | |
# open file in readonly mode | |
micro -readonly on <file_to_open_read_only.txt> | |
# bindings file : | |
~/.config/micro/bindings.json | |
# bindings help : | |
https://github.com/zyedidia/micro/blob/master/runtime/help/keybindings.md | |
# if you want to toggle then it is possible with function in lua - but toggle is not yet implimented - see this link : | |
https://github.com/zyedidia/micro/issues/1806 | |
https://github.com/zyedidia/micro/issues/3324 | |
https://github.com/zyedidia/micro/issues/2086#issuecomment-826351299 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Alt-m": "command:set mouse false", | |
"Alt-M": "command:set mouse true", | |
"Alt-/": "lua:comment.comment", | |
"Ctrl-/": "lua:comment.comment", | |
"CtrlUnderscore": "lua:comment.comment" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment