Re: line editor keybindings

2018-03-13 Thread Marco Dickert
On 2018-03-13 20:50:20, Erik Christiansen wrote:
> On 13.03.18 10:09, andreas.muel...@biologie.uni-osnabrueck.de wrote:
> >   can I switch the editor key bindings to the vi style ?
> There is better than that - you can use vim as the mutt editor, with
> this line in ~/.muttrc:
> 
> set editor=vim

You also may want to use a mutt-dedicated vim configuration, like I do:


set editor="/usr/bin/vim -c ~/.mutt/vimrc"


My ~/.mutt/vimrc looks like this:


syntax on
set background=dark
set showcmd
set showmatch
set tabstop=4
set sw=4
set expandtab
set ft=mail
set tw=80


-- 
Marco Dickert
ma...@misterunknown.de
https://misterunknown.de


smime.p7s
Description: S/MIME cryptographic signature


Re: What do different characters mean that appear in the columns between the message number and the date?

2017-07-19 Thread Marco Dickert
On 2017-07-19 08:36:19, Matthias Apitz wrote:
> The 'F' I don't know and have never seen.

F means that the message was sent from you. I see this flag on my monitoring
mails, because the sender is "moni...@misterunknown.de" and my alternates look
like this:

alternates "^.*?@misterunknown\.de"

-- 
Marco Dickert
ma...@misterunknown.de
https://misterunknown.de


smime.p7s
Description: S/MIME cryptographic signature


Re: bind tag-prefix when display message

2016-01-25 Thread Marco Dickert
> In a macro, such as the one above, it seems that tag-prefix-cond needs
> to be used instead. [...]
> 
> Does that work?

I don't know if I get you right, but I tried it that way:

macro pager ";" 

This generates no error at startup, but does not work either (error: key not
bound).

-- 
Marco


signature.asc
Description: Digital signature


bind tag-prefix when display message

2016-01-25 Thread Marco Dickert
Hi there,

I have a little problem configuring mutt. When displaying a message mutt shows
15 index lines above the pager. Unfortunately it is not possible in the
pager-view to use ";" (tag-prefix), e.g. to move all tagged messages to another
folder.

If I try to add this keybinding by adding this line to my .muttrc:

   bind pager ";"  tag-prefix

this error message shows up when starting mutt:

  "Error in ~/.muttrc, line 58: tag-prefix: function unknown"

(Maybe it is slightly different because I translated it from german). Is there
any way to enable the function tag-prefix when in pager-view?

Cheers,
-- 
Marco


signature.asc
Description: Digital signature


Re: bind tag-prefix when display message

2016-01-25 Thread Marco Dickert
> Since my bindings work without the angle brackets, they appear to be a
> documentation peculiarity. I grok their use for containing keyboard
> chords, but they don't make much sense for a literal function name.

Well, if I omit the angle brackets my mutt interprets this macro as a series of
keystrokes, i.e. it marks the current message (t) and tries to save the senders
address (a). At this point I can break the macro.

> Looks a bit like a hint that it won't work there?

Seems to be. For now I stop investigating on this "problem" since it would be a
"nice-to-have" feature. Thank you anyway :)

-- 
Marco


signature.asc
Description: Digital signature