Skip to content

Commit

Permalink
Add mapping to script that formats Ruby hashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnadlerjr committed Jan 16, 2012
1 parent a14a382 commit b80dd07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vimrc
Expand Up @@ -116,6 +116,9 @@ map <leader>gl :FufRenewCache<CR>:FufFile lib<CR>
" Use two-space indent for coffee-script files
au BufNewFile,BufReadPost *.coffee setl shiftwidth=2 expandtab

" Map to external script that formats Ruby hashes
vmap <F2> !format_hash.rb<CR>
" Colors
let g:solarized_termcolors=256
let g:solarized_visibility="high"
Expand Down

0 comments on commit b80dd07

Please sign in to comment.