On Thu, Dec 20, 2012 at 09:55:25PM +0800, Woody Wu wrote: > On Thu, Dec 20, 2012 at 09:29:25PM +0800, Woody Wu wrote: > > On Wed, Dec 19, 2012 at 01:52:48PM +1100, Cameron Simpson wrote: > > > On 18Dec2012 16:51, Jeremy Kitchen <kitc...@kitchen.io> wrote: > > > | On Wed, Dec 19, 2012 at 08:23:12AM +0800, Woody Wu wrote: > > > | > I defined serveral aliases in .mail_aliase via the 'a' commmand. And, > > > I > > > | > checked I had > > > | > set alias_file=~/.mail_aliases # where I keep my aliases > > > | > in my .muttrc. > > > | > > > | are you also sourcing this file in your .muttrc? You need to source it > > > | as well. > > > > > > Just to make it clear, alias_file only specifies where mutt writes new > > > alias definitions. Mutt doesn't automatically consult that file, hence > > > the need to source it as a separate operation. > > > > > > Cheers, > > > > Is the 'sourcing' means the same thing as that in bash script? I write > > '. ~/.mail_aliases' in the .muttrc, but mutt said it's an syntax error. > > > > sorry for the stupid asking, I found out its 'source ~/.mail_aliases'. > Please forget this question. > > > On the hand, I found my .muttrc has some default alias definitions like > > what you guy said. For example: > > > > alias mutt-users Mutt User List <mutt-users@mutt.org> > > > > I tried to use this alias by pressing <tab> after I inputted words > > 'mutt-users' after the 'To:' header in mutt. But I still got nothing. > > Is there something to do with my message editor? Here it is vim. > > This still doesn't work. I tried to remove my vimrc file and all the > locally installed plugins. I still cannot use the <tab> :( What's wrong > with my system?
By the default the completion is done with <C-t>(that is ctrl+t). Try with that or check the help for the specific key if there is any. -- Nikola