X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=runtime%2Fhelp%2Ftutorial.md;h=f720a4c9d2ce3bcef820371366bf307c2f839e11;hb=924809b19baa0b7e6da896a35624934f96a26019;hp=825be842c4acfca2f87984f8b3953a1dad3bee64;hpb=fc2d9bb461050d90b238d1e7986b1398fd734227;p=micro.git diff --git a/runtime/help/tutorial.md b/runtime/help/tutorial.md index 825be842..f720a4c9 100644 --- a/runtime/help/tutorial.md +++ b/runtime/help/tutorial.md @@ -6,6 +6,17 @@ and use `init.lua` to configure micro to your liking. Hopefully you'll find this useful. +### Plugins + +Micro has a plugin manager which can automatically download plugins for you. +To see the plugins 'official' plugins, go to github.com/micro-editor/plugin-channel. + +For example, if you'd like to install the snippets plugin (listed in that repo), +just press `CtrlE` to execute a command, and type `plugin install snippets`. + +For more information about the plugin manager, see the end of the `plugins` help +topic. + ### Settings In micro, your settings are stored in `~/.config/micro/settings.json`, a file @@ -80,7 +91,7 @@ You can do that by putting the following in `init.lua`: function gorun() local buf = CurView().Buf -- The current buffer if buf:FileType() == "go" then - HandleShellCommand("go run " .. buf.Path, true) -- true means don't run it in the background + HandleShellCommand("go run " .. buf.Path, true, true) -- the first true means don't run it in the background end end