mailer

command module
v0.0.0-...-308cbf2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2021 License: BSD-2-Clause Imports: 23 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

mailer

Fast and lean vi-style terminal email reader

Getting Started

Installing/updating:

$ 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.:

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:

$ 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<Enter><Ctrl-L>.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址