Sorting in Mutt

A couple of days ago I discovered the following mutt config option.

set sort = threads
set sort_aux = last-date-received

This means you get the usual threading but that a thread is sorted by the date the last message in the thread was received. This keeps a thread which receives new mail at the bottom of your mailbox rather than up at the top.

Another idea I found useful is to sort my spam mailbox by subject. Since a lot of SPAM has exactly the same subject it makes it really easily to quickly scan the mailbox for HAM.

You can easily do this with the following additions to your muttrc

folder-hook . set sort=threads
folder-hook spam set sort=subject

You need to set the default as mutt will change the sort order when you change to the spam folder but won’t change it back when you jump out of it.

Vim and spell checking

I just discovered Vim has spell checking. No more having to manually spell check in mutt with ispell when writing emails, Hurray!!

In your .vimrc file simply add

setlocal spell spelllang=en_au

Note: By default vim only installs en_us spell files. If you are running debian then there is a vim-spellfiles package. There is an ubuntu bug to do something about this as well. Since I’m using ubuntu I simply grabbed the en directory from ftp://ftp.vim.org/pub/vim/runtime/spell/ and dumped it in /usr/share/vim/vim71/spell

Vim will now highlight words it thinks are misspelled. The magic incarnations you will need are:

z= – Suggest alternatives for the word
zg – Add word to dictionary
zw – Remove word from dictionary

Out of the wilderness

I took another step out of the wilderness today…

Those who have know me for a while will know that up until recently I exclusively used linux virtual consoles (ie what CTRL-ALT-F1 gives you from within X) to do all my work except for browsing the web. Recently I stopped using them all together and moved totally into the land of X and started using gnome-terminal instead.

Well I suppose it wasn’t that big a step as my processes havn’t changed that much. I simply have a gnome-terminal with tabs full screen in the monitor on my left and a full screen firefox in the monitor on my right đŸ™‚

I took another step today moving from centericq to pidgin for my IM needs. I’m quite liking it so far especially some of the pop up notification plugins since I can follow channel conversations without switching away from what I’m doing.

Now does anyone know if there is a plugin to sync all my configuration settings between different machines. That was the handiest thing about running centericq from inside a screen.

But have no fear I’m still using mutt for mail and doubt that will ever change.