Daily Vim Devotional

Ever want to do an SQL query on a plain text file? Or output from a unix command? With q, you can. It’s a very nifty tool.



If you use Evernote, but still love to type stuff in the CLI. Check out geeknote.



This plugin lets you view and navigate classes in a file using tags. It’s nice. I have it mapped to ,\.


set mouse=a

Using this will let you use your mouse even in a terminal window. There’s more specific options, but this works well for being able to resize window splits.

:help mouse

Go into the arts. I’m not kidding. The arts are not a way to make a living. They are a very human way of making life more bearable. Practicing an art, no matter how well or badly, is a way to make your soul grow, for heaven’s sake. Sing in the shower. Dance to the radio. Tell stories. Write a poem to a friend, even a lousy poem. Do it as well as you possibly can. You will get an an enormous reward. You will have created something.

- Kurt Vonnegut, Letters (via myownholybook)

Just a good sentiment. 

(via catrocketship)

Maximum Awesome

This is a set of config files for Vim and tmux. Has lots of stuff I already use in a nice package.



set :lazyredraw to enable lazy redrawing. Haven’t measured to see if it’s actually faster, but it feels faster.

:help lazyredraw

(Source: twitter.com)


rubocop is a code linter for Ruby, which with some customization for your preferences, can be very helpful for coding in a consistent style and avoiding errors.

If syntastic is installed, you’ll get the checking for free in Vim. You’ll need to put let g:syntastic_ruby_checkers = ['mri', 'rubocop'] in your vimrc.



direnv is a program that lets you put .envrc files in directories that load environment variables. It’s very handy for anywhere you want to set up some application specific variables or have one in your home directory with your deepest secrets.



ghpreview is a RubyGem that that takes Markdown and formats it how it would look on GitHub. Since most Markdown I use ends up on GitHub, it’s nice for previewing things before they get there. If

au BufRead,BufNewFile,BufWrite {*.markdown,*.md,*.mdk} set makeprg=ghpreview\ %

is in your vimrc, you can type :Make while editing Markdown to bring it up in a browser.


(Source: twitter.com)