]> git.lizzy.rs Git - micro.git/blobdiff - README.md
Embed runtime files in the go binary
[micro.git] / README.md
index c1d78a384ac806436222bb7598131f17cee0f22d..091626b83970c8f0c86eb20052b4590dc1588982 100644 (file)
--- a/README.md
+++ b/README.md
@@ -53,31 +53,24 @@ Micro is devel-only for now because there is no released version.
 | [32 bit Linux](http://zbyedidia.webfactional.com/micro/binaries/micro-linux32.tar.gz) |
 | [Arm Linux](http://zbyedidia.webfactional.com/micro/binaries/micro-linux-arm.tar.gz) |
 
-Once you have downloaded the file, you can install the runtime files by running `./install.sh`
-in the directory you downloaded. This will place all the runtime files in `~/.micro`.
-
 To run the micro binary just run `./bin/micro` (you may want to place the binary on your path for ease of use).
 
 ### Building from source
 
-Micro is made in Go so you must have Go installed on your system to build it, and make sure your `GOPATH` is set.
+Micro is made in Go so you must have Go installed on your system to build it.
+
+You can simply `go get` it.
 
 ```
-$ git clone https://github.com/zyedidia/micro
-$ cd micro
-$ make
+go get -u github.com/zyedidia/micro/cmd/micro
 ```
 
-This will build micro and put the binary in the current directory. It will also install syntax highlighting files to `~/.micro/syntax`.
-
-Alternatively you can use `make install` instead of `make` if you want the binary to be added to you `GOBIN` (make sure that it is set).
-
 ### Clipboard support
 
-Linux, Unix requires 'xclip' or 'xsel' command to be installed. For Ubuntu:
+On Linux, clipboard support requires 'xclip' or 'xsel' command to be installed. For Ubuntu:
 
 ```
-$ sudo aptitude install xclip
+$ sudo apt-get install xclip
 ```
 
 # Usage
@@ -131,10 +124,12 @@ The syntax option can simply be on or off, so for example to turn syntax highlig
 
 The colorscheme can be selected from all the files in the `~/.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
+* 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.
 * 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.
 
+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 `~/.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.