F1 Show cheatsheet for the language you're editing: Lua, Go, Python...
A plugin for Micro editor.
Edit a source code file with micro. Press F1.
A cheatsheet for the language opens. If you're editing Python, it's a Python cheatsheet. If Go, then Go cheatsheet. Press Ctrl-Q to close the cheatsheet tab and return to editing.
For your convenience, micro-cheat also provides a command 'cheat' that you can bind to any key or run with ctrl-E.
Tested with
- Python
- Go (Golang)
- Lua
- Javascript
- CSS (cascading style sheets)
- HTML
- HAML (HTML abstraction markup language)
- Vagrantfile (by filename)
- Dockerfile (by filename)
- Makefile
- JavaScript (ECMAScript)
- TypeScript
- YAML (yet another markup language)
- bash (shell)
- MarkDown
- SASS (by suffix)
Micro-cheat is now part of official Micro plugin-channel.
$ micro --plugin install cheat
Alternatively, a development install
$ cd $HOME/.config/micro/plug/
$ git clone https://github.com/terokarvinen/micro-cheat
Installation & tutorial for 4 plugins: Palettero, Cheat, Run and Jump
All cheatsheets included in cheatsheets/ directory are not supported yet. Micro-cheat has only been tested on Linux.
Bibtex references cheatsheet. Should be MIT licensed to be included in this plugin.
Cheatsheets are from https://devhints.io project, copyright (c) 2021 Rico Sta. Cruz and contributors, received under MIT license.
Micro-cheat plugin is Copyright 2022-2024 Tero Karvinen https://TeroKarvinen.com, MIT license.