2013-01-04

Entries

Just discovered that if you're lessing a file and you press v it opens that file up in vim. This is on the Mac, at least.

#

I assumed that less was looking at my EDITOR enironment variable and that is indeed the case:

#

Invokes an editor to edit the current file being viewed. The editor is taken from the environment variable VISUAL if defined, or EDITOR if VISUAL is not defined, or defaults to "vi" if neither VISUAL nor EDITOR is defined.

#

I've been enjoying digging into my .vimrc the last couple days, but maybe it's time to give my .tmux.conf some attention as well?

#

I added a key mapping to vim to toggle spell checking on and off: map <leader>s :set spell!<CR>

#

And just learned how to go to the next/previous misspelled word with ]s and [s - How can I spellcheck in gvim?

#

You can use z= to find suggestions for the word under the cursor.

#

And zg to mark a word as "good" and add to your own word list.

#

Just found Gistflow via the Ruby5 Podcast. It's like a developer-centric Tumblr, allowing you to post examples, questions and format in Markdown. Others can comment, like, bookmark and share your post.

#

Comments

comments powered by Disqus