]> git.lizzy.rs Git - micro.git/blobdiff - runtime/help/options.md
Add new plugin runtime function
[micro.git] / runtime / help / options.md
index 94e020f68d3355f9f68a62cbc36c54a3c75db09a..db91fd04dc4fcf8d479bb6ab1ffb0d5477d9a99c 100644 (file)
@@ -14,27 +14,19 @@ Here are the options that you can set:
 
        default value: `default`
        Note that the default colorschemes (default, solarized, and solarized-tc)
-       are not located in configDir, because they are embedded in the micro binary
+       are not located in configDir, because they are embedded in the micro binary.
 
        The colorscheme can be selected from all the files in the 
        ~/.config/micro/colorschemes/ directory. Micro comes by default with three
        colorschemes:
 
-       * default: this is the default colorscheme.
+    You can read more about micro's colorschemes in the `colors` help topic
+    (`help colors`).
 
-       * solarized: this is the solarized colorscheme (used in the screenshot). 
-         You should have the solarized color palette in your terminal to use it.
-
-       * solarized-tc: this is the solarized colorscheme for true color, just 
-         make sure your terminal supports true color before using it and that the 
-         MICRO_TRUECOLOR environment variable is set to 1 before starting micro.
-
-       * monokai-tc: this is the monokai colorscheme. It requires true color to
-         look perfect, but the 256 color approximation looks good as well.
-
-       * atom-dark-tc: this colorscheme is based off of Atom's "dark" colorscheme.
-         It requires true color to look good.
+* `colorcolumn`: if this is not set to 0, it will display a column at the specified
+   column. This is useful if you want column 80 to be highlighted special for example.
 
+       default value: `0`
 
 * `tabsize`: sets the tab size to `option`
 
@@ -44,6 +36,11 @@ Here are the options that you can set:
 
        default value: ` `
 
+* `infobar`: enables the line at the bottom of the editor where messages are printed.
+   This option is `global only`.
+
+       default value: `on`
+
 * `filetype`: sets the filetype for the current buffer. This setting is `local only`
 
     default value: this will be automatically set depending on the file you have open
@@ -68,7 +65,7 @@ Here are the options that you can set:
 * `cursorline`: highlight the line that the cursor is on in a different color
    (the color is defined by the colorscheme you are using)
 
-       default value: `off`
+       default value: `on`
 
 * `ruler`: display line numbers
 
@@ -105,7 +102,7 @@ Default plugin options:
 
        default value: `on`
 
-* `autoclose`: Automatically close `{}` `()` `[]` `""` `''`. Provided by the autoclose plugin
+* `autoclose`: Automatically close `{}` `()` `[]` `""` `''`. Provided by the `autoclose` plugin
 
        default value: `on`
 
@@ -136,16 +133,16 @@ In the `settings.json` file you can also put set options locally by specifying a
 Here is an example which has `tabstospaces` on for all files except Go files, and
 `tabsize` 4 for all files except Ruby files:
 
-```
+```json
 {
     "*.go": {
         "tabstospaces": false
     },
     "*.rb": {
         "tabsize": 2
-    }
+    },
     "tabstospaces": true,
-    "tabsize": 4,
+    "tabsize": 4
 }
 ```