Skip to main content

Posts

Showing posts from October, 2008

Happy Halloween

vim.merge!(rails)

After meeting tpope and pair programming with reinh I got to see the power of vim . I have never used vim before so this is all new to me. I've been using TextMate exclusively since starting Rails a few years ago. I came to work and started in on a pursuit of how I can do in vim what I do in Textmate. While on this quest, I will document along the way some useful tips that may help you too. I'll document some vim things I've learned so far: Install rails.vim Other plugins: BlockComment , NERDTree , FuzzyFinderTextmate , minibufexpl , vcscommand Vim commands I use often: gf - when cursor is on class name it'll take you to that class definition yyp - duplicate current line :AS - I use a lot to look at code and spec at the same time ^p - autocomplete word from any open file control + shift + 6 - switch between two buffers shift + s - to delete current line :%s/old/new/g - to change text to new text / - to go to line number on page /text, then enter key - to f

The Me Meme

From Blogger Pictures Take a picture of yourself right now. Don’t change your clothes, don’t fix your hair…just take a picture. (should be super-easy with Photobooth) Post that picture with NO editing. Post these instructions with your picture. http://blog.obiefernandez.com/content/2008/10/the-me-meme.html