mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 06:40:24 +09:00
Update readme
This commit is contained in:
@@ -132,7 +132,7 @@ The syntax option can simply be on or off, so for example to turn syntax highlig
|
||||
|
||||
The tabsToSpaces option is on or off. It specifies whether to use spaces instead of tabs or not. The default is off.
|
||||
|
||||
The colorscheme can be selected from all the files in the `ConfigDir/colorschemes/` directory. Micro comes by default with three colorschemes:
|
||||
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.
|
||||
* solarized: this is the solarized colorscheme (used in the screenshot). You should have the solarized color palette in your terminal to use it.
|
||||
@@ -140,7 +140,7 @@ The colorscheme can be selected from all the files in the `ConfigDir/colorscheme
|
||||
|
||||
These are embedded in the Go binary, but to see their source code, look [here](./runtime/colorschemes)
|
||||
|
||||
Any option you set in the editor will be saved to the file `ConfigDir/settings.json` so, in effect, your configuration file will be created
|
||||
Any option you set in the editor will be saved to the file `~/.config/micro/settings.json` so, in effect, your configuration file will be created
|
||||
for you. If you'd like to take your configuration with you to another machine, simply copy the `settings.json` to the other machine.
|
||||
|
||||
# Contributing
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
# Runtime files for Micro
|
||||
|
||||
This directory will be embedded in the Go binary for portability, but it may just as well be put in `ConfigDir`. If you would like to make your own colorschemes
|
||||
and syntax files, you can put in in `ConfigDir/colorschemes` and `ConfigDir/syntax` respectively.
|
||||
This directory will be embedded in the Go binary for portability, but it may just as well be put in `~/.config/micro`. If you would like to make your own colorschemes
|
||||
and syntax files, you can put in in `~/.config/micro/colorschemes` and `~/.config/micro/syntax` respectively.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Micro syntax highlighting files
|
||||
|
||||
These are the syntax highlighting files for micro. To install them, just
|
||||
put all the syntax files in `ConfigDir/syntax`.
|
||||
put all the syntax files in `~/.config/micro/syntax`.
|
||||
|
||||
They are taken from Nano, specifically from [this repository](https://github.com/scopatz/nanorc).
|
||||
Micro syntax files are almost identical to Nano's, except for some key differences:
|
||||
|
||||
Reference in New Issue
Block a user