neovim as git diff and merge tool

Posted on 08 February 2015 in vim • Tagged with vim, neovim, git

You've made the switch. You are now using neovim for all your text editing, and you've hardly even noticed that you aren't using regular old vim. Except one thing. Your git difftool and mergetool aren't quite right. One of two things is happening. Either you are using old vim (which …


Continue reading

Fixing mutt and goobook

Posted on 27 January 2015 in linux • Tagged with mutt

There are a lot of blog posts out there that show how to combine mutt and goobook. However, all of them that I have seen are wrong. This isn't a long, post, I'm not going to tell you about goobook and mutt, I'm just going to tell you the problem …


Continue reading

Emailing (mutt) and vim advanced config

Posted on 29 December 2014 in vim • Tagged with vim, mutt, email, linux, unix

Here are some tips you might like for advanced emailing with vim. I use mutt as my email client, but these tips should be mostly applicable to any other email client you might use.

First, let's talk about format flowed text. Perhaps you believe so strongly in 72 character width …


Continue reading

Tutorial to get cmus rockin'

Posted on 07 December 2014 in linux • Tagged with tutorial, cmus, linux

cmus is a console based music player. It's rather feature filled which can mean that getting it set up "just right" might require some work. This post is to help you get cmus set up to rock! There are a few introductory tutorials out there, but they only scratch the …


Continue reading

Fcron examples for every 30 minutes and once a week

Posted on 10 November 2014 in computer • Tagged with fcron, cron

This is mostly a note for myself, but maybe other people will also find it useful.

There are two types of jobs I'm going to talk about here. They are jobs to be run at regular intervals and jobs to be run periodically. Regular intervals means every x unit of …


Continue reading

Offlineimap, Gmail, and Mutt tutorial

Posted on 09 November 2014 in linux • Tagged with email

History

A few years ago, I wrote a series of blog posts on offlineimap, mutt, and gmail (Link Here). Since then, I spent some time using the gmail web interface for email and then went back to mutt and used the built in imap. However, I've realized that neither of …


Continue reading

Tutorial for pandoc citations: markdown to latex

Posted on 31 August 2014 in pandoc • Tagged with pandoc, bibtex, natbib, tutorial, example

I am trying to move all of my writing over to markdown, and then using pandoc to produce the true target format. Often that is latex, and often there are citations involved. This post will be an example (or two) of dealing with citations in markdown so that pandoc can …


Continue reading

Increment or decrement visual selection in vim

Posted on 25 August 2014 in vim • Tagged with vim

vim can increment and decrement digits under the cursor with the <C-A> <C-X> bindings, respectively. Go try it out and then come back.

Now that you are back, let's extend this functionality to visual selections. First let's learn a command you can find in :help submatch.

:s/\d\+/\=submatch(0 …

Continue reading