Tempting Shortcuts
Working notes on the slower path

Notes > Tech > here

ViM - my editor of choice

I’ve been coding and administering servers for quite a while now and early on I decide to go with ViM as my editor and begin to learn the deep ways of it.

One liners

When one downloads the ‘citation entry and references’ from the T & F journal sites, it produces an ‘illegal’ bibtex document. This1 will fix up the entries:

%s/@article {,/\="@article{".line(".").","/

installing/updating plugins

The plugin infrastructure for ViM is awesome, for spf13:

cd $HOME/.spf13-vim-3/
git pull
edit ~/.vimrc.bundles.local
vim +BundleInstall! +BundleClean +q

Vimwiki

A useful plugin for writing text based notes is vimwiki. I am adopting it based on this post on taking notes

Fugitive

This is a fantastic interface to Git. Code and introduction

Advanced: folding

Vim has the ability to collapse (fold) and expand sections of the file to remove them from view until they need to be looked at. You can find a basic introduction.