mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 14:22:42 +09:00
docs: Improve plugin documentation (#3240)
* docs: Improve documentation `commands.md` - documented the `reopen` command - improved the documentation of the `reload` command `plugins.md` - added direct links to relevant external documentation pages - rewrote some sections - documented missing functions/callbacks - added a note about installing/managing plugins * Omit number of default plugins Co-authored-by: Jöran Karl <3951388+JoeKar@users.noreply.github.com> --------- Co-authored-by: Jöran Karl <3951388+JoeKar@users.noreply.github.com>
This commit is contained in:
@@ -107,7 +107,10 @@ quotes here but these are not necessary when entering the command in micro.
|
||||
|
||||
* `plugin available`: show available plugins that can be installed.
|
||||
|
||||
* `reload`: reloads all runtime files.
|
||||
* `reload`: reloads all runtime files (settings, keybindings, syntax files,
|
||||
colorschemes, plugins). All plugins will be unloaded by running their
|
||||
`deinit()` function (if it exists), and then loaded again by calling the
|
||||
`preinit()`, `init()` and `postinit()` functions (if they exist).
|
||||
|
||||
* `cd 'path'`: Change the working directory to the given `path`.
|
||||
|
||||
@@ -115,6 +118,8 @@ quotes here but these are not necessary when entering the command in micro.
|
||||
|
||||
* `open 'filename'`: Open a file in the current buffer.
|
||||
|
||||
* `reopen`: Reopens the current file from disk.
|
||||
|
||||
* `reset 'option'`: resets the given option to its default value
|
||||
|
||||
* `retab`: Replaces all leading tabs with spaces or leading spaces with tabs
|
||||
|
||||
Reference in New Issue
Block a user