X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=README.md;h=9f6cd16c2dac290c569f0fc06e7883068fdb3d86;hb=36e83a46e4b95f78453df7db2697870e86ee3b45;hp=161bd0a386bf35bb4da6ce57d63839a726d4de6d;hpb=ee55732be37b4f72d3b273cba28ada19961928b8;p=micro.git diff --git a/README.md b/README.md index 161bd0a3..9f6cd16c 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,12 @@ -

- micro logo -

+micro logo [![Build Status](https://travis-ci.org/zyedidia/micro.svg?branch=master)](https://travis-ci.org/zyedidia/micro) -[![Release](https://img.shields.io/github/release/zyedidia/micro.svg?label=Release)](https://github.com/zyedidia/micro/releases) [![Go Report Card](https://goreportcard.com/badge/github.com/zyedidia/micro)](https://goreportcard.com/report/github.com/zyedidia/micro) -[![Join the chat at https://gitter.im/zyedidia/micro](https://badges.gitter.im/zyedidia/micro.svg)](https://gitter.im/zyedidia/micro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Release](https://img.shields.io/github/release/zyedidia/micro.svg?label=Release)](https://github.com/zyedidia/micro/releases) [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/zyedidia/micro/blob/master/LICENSE) +[![Join the chat at https://gitter.im/zyedidia/micro](https://badges.gitter.im/zyedidia/micro.svg)](https://gitter.im/zyedidia/micro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Snap Status](https://build.snapcraft.io/badge/zyedidia/micro.svg)](https://build.snapcraft.io/user/zyedidia/micro) - **micro** is a terminal-based text editor that aims to be easy to use and intuitive, while also taking advantage of the capabilities of modern terminals. It comes as a single, batteries-included, static binary with no dependencies; you can download and use it right now! @@ -109,13 +106,13 @@ You can install micro using Homebrew on Mac: brew install micro ``` -On Debian Linux, you can install micro through [snap](https://snapcraft.io/docs/core/install) +On Debian systems, you can install micro via apt: ``` -snap install micro --classic +apt install micro ``` -Homebrew and snap are the two "officially" maintained package manager distributions of micro. +Homebrew and apt are the two "officially" maintained package manager distributions of micro. Micro is also available through other package managers on Linux such as AUR, Nix, and package managers for other operating systems: @@ -148,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.