From: Zachary Yedidia Date: Tue, 11 Feb 2020 21:40:15 +0000 (-0500) Subject: Update readme X-Git-Tag: v2.0.0 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=399c6290768867351813250a6f1d8df7554917a5;p=micro.git Update readme --- diff --git a/README.md b/README.md index a50d98be..9b4cff4f 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,16 @@ You can install directly with `go get` (`go get github.com/zyedidia/micro/cmd/mi recommended because it doesn't build micro with version information (necessary for the plugin manager), and doesn't disable debug mode. +### Fully static binary + +By default, the micro binary will dynamically link with core system libraries (this is generally +recommended for security and portability). However, there is a fully static prebuilt binary that +is provided for amd64 as `linux-static.tar.gz`, and to build a fully static binary from source, run + +``` +CGO_ENABLED=0 make build +``` + ### macOS terminal If you are using macOS, you should consider using [iTerm2](http://iterm2.com/) instead of the default terminal (Terminal.app). The iTerm2 terminal has much better mouse support as well as better handling of key events. For best keybinding behavior, choose `xterm defaults` under `Preferences->Profiles->Keys->Load Preset`. The newest versions also support true color.