19 Nov '13, 6pm

Vim Spell-Checking

Vim Spell-Checking

Dan Croak November 19, 2013 vim There are times when we edit prose in Vim, such as in a project README or git commit message. In those cases, we can use Vim's spell-checking to help us avoid embarrassing mistakes. Switching on spell-checking We can switch on spell checking with this command: :setlocal spell We can also specify the language: :setlocal spell spelllang=en_us What does it look like? Here's a screenshot of what I see as I edit this blog post: The highlighted words are considered misspellings. Spell check per filetype It would be tedious to manually turn on spell-checking each time we need it. Luckily, we can guess by convention that we'll want to spell-check certain files. We automatically turn on spell-checking for Markdown files based on their file extension with this line in our ~/.vimrc via thoughtbot/dotfiles : autocmd BufRead,BufNewFile *.md setlocal spel...

Full article: http://robots.thoughtbot.com/vim-spell-checking/

Tweets

Sort lines alphabetically in vim

robots.thoughtbot.com 19 Nov '13, 7pm

Sort Lines Alphabetically In Vim Dan Croak February 01, 2013 vim Imagine you're working in vim. You come across this code:...

“Running Specs from Vim, Sent to tmux via Tslime”

robots.thoughtbot.com 18 Nov '13, 7am

Running Specs from Vim, Sent to tmux via Tslime Joël Quenneville August 08, 2013 tmux vim ruby testing When I first starte...

The Vim Learning Curve is a Myth

robots.thoughtbot.com 15 Nov '13, 5pm

The Vim Learning Curve is a Myth Ben Orenstein November 22, 2011 vim I've been speaking about and teaching people vim for ...

Really taking wanting to use no mouse to the next level :) #lovethisguy #hacker #vim

Really taking wanting to use no mouse to the ne...

hackaday.com 10 Nov '13, 8am

I’ve gotta say, as a regular vim user, I just don’t quite get this from a usability standpoint. The opposite behavior (ins...

Faster Grepping in Vim

robots.thoughtbot.com 28 Nov '13, 1am

Dan Croak November 27, 2013 vim We often search our projects for specific text within Vim like so: :grep sometext However,...

@derekprior Thank you for

robots.thoughtbot.com 14 Nov '13, 11pm

Seamlessly Navigate Vim and tmux Splits Derek Prior June 15, 2013 vim tmux My tmux session for a given project typically h...