https://github.com/r00tman/mailer
fast and lean vi-style terminal email reader in just 850 loc
https://github.com/r00tman/mailer
email golang linux osx vim w3m
Last synced: about 2 months ago
JSON representation
fast and lean vi-style terminal email reader in just 850 loc
- Host: GitHub
- URL: https://github.com/r00tman/mailer
- Owner: r00tman
- License: bsd-2-clause
- Created: 2019-07-19T12:42:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-09T03:14:35.000Z (about 4 years ago)
- Last Synced: 2025-03-24T07:07:22.333Z (about 2 months ago)
- Topics: email, golang, linux, osx, vim, w3m
- Language: Go
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mailer
Fast and lean vi-style terminal email reader## Getting Started
Installing/updating:
```shell
$ go get -v -u github.com/r00tman/mailer
```Now you have `mailer` in `$GOPATH/bin` (which is usually `~/go/bin`).
If you haven't already, you can add `$GOPATH/bin` to your `$PATH` by appending this to `.bashrc`/`.zshrc`/etc.:
```bash
export PATH="${GOPATH:-$HOME/go}/bin:$PATH"
```You may want to install `w3m`, since it is required to read html emails.
Now you can just run the app:
```shell
$ mailer
```BTW, feel free to alias/symlink `mailer` to `ml` (or whatever you like), since it is much quicker to type.
## Usage
Most keybindings are vi/w3m style.This means that:
- `jk`/`Down Up` are for down, up (numbers work too, i.e., `10j` scrolls 10 lines down),
- `hl`/`Esc Enter`/`Left Right` are for closing, opening emails and mailboxes,
- `r` is for toggling the read status of the selected message (works in the message viewer too),
- `q`/`:q` are for quitting,
- `PgUp PgDown`/`Ctr-U Ctr-D`/`{ }`/`b Space` are for page scrolling,
- `gg G`/`Home End` are for getting to the start and to the end,
- `Ctrl-L`/`;` aligns view to the selection (cycles between modes when pressed repeatedly),
- `/?` are for forward, backward search,
- `nN` are for next, previous search match.Tip: You can scroll to the text/html part by typing `/html`.