README - anmhi - nmh(7) interface that (ab)uses less, lesskey, tmux and entr
 (HTM) hg clone https://bitbucket.org/iamleot/anmhi
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
       README
       ---
            1 anmhi is an interface to nmh(7) that (ab)uses less, lesskey, tmux
            2 and entr.
            3 
            4 From a tmux session it can be simply invoked via tanmhi:
            5 
            6     % tanmhi
            7 
            8 tanmhi will split the current window in two panes:
            9  - top pane: anmhi-scan
           10  - bottom pane: anmhi
           11 
           12 anmhi-scan print via scan(1) an handful of previous, current and
           13 next emails of the current folder.
           14 
           15 anmhi is used to perform several actions to the nmh messages/folders
           16 by (ab)using less and lesskey. For a list of them please directly
           17 read the source code.
           18 
           19 The following environment variables can be used to adjust anmhi
           20 configuration:
           21 
           22  - ANMHI_LESSKEY: location of lesskey used by anmhi (by default
           23    `$(mhpath +)/.lesskey`)
           24  - ANMHI_MARK_SEQUENCE: sequence used when marking a message via `M`
           25    action (by default `marked`)
           26  - ANMHI_MENU_TOOL: tool used for menus, should support an `-l` option to
           27    specify the number of lines (by default `fzy`)
           28  - ANMHI_SCAN_LINES: number of line used reserved for anmhi-scan pane when
           29    anmhi is invoked via tanmhi (by default `10`).
           30  - ANMHI_SCAN_MESSAGES: number of messages used for the `L` action to
           31    show last `2n + 1` messages (by default `100`)
           32  - ANMHI_SEQUENCES: file name used to temporary store current user defined
           33    sequences for the `T` action, stored in ${MHTMPDIR}
           34    (by default `.mhcurseqs`)
           35  - ANMHI_UNSEEN_SEQUENCE: name of the sequence unseed for unseen message (by
           36    default `$(mhparam unseen-sequence)`)
           37 
           38 anmhi was inspired by ml written by paul fox. It is intended to be
           39 simpler and avoid to define any custom sequence.