VIM's leader key for your terminal!

Installation

Mac OSX

leader is available via brew:

$ brew install dhamidi/all/leader

Alternatively you can download the latest binary and place it in a directory on your $PATH

Linux (64bit)

Download the latest binary and place it in a directory on your $PATH

Configuration

Place the following in ~/.leaderrc to get started.

{
  "keys": {
    "h": {
      "name": "help",
      "keys": {
        "l": "leader help"
      }
    },
    "g": {
      "name": "git",
      "loopingKeys": [
        "s"
      ],
      "keys": {
        "p": "git push",
        "P": "git pull",
        "s": "git status"
      }
    }
  }
}

More information

See Guides for how to integrate leader with various other programs

Go to https://github.com/dhamidi/leader for more information.