UltiSnip snippets missing from completion menu with YouCompleteMe

Posted on 19 June 2015 in vim • Tagged with vim

I was having a problem in neovim where my UltiSnips snippets were working, I could expand them, however YouCompleteMe was not displaying their availability in the pop-up completion menu. Actually, a couple of the snippets showed up, but not most of them.

My problem was that UltiSnips was loading with …


Continue reading

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

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

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