Skip to content
Browse files

Add mapping to script that formats Ruby hashes.

  • Loading branch information...
1 parent a14a382 commit b80dd0765d9f9f6ee6ffa7ec59bdbbd72e8d1023 @bnadlerjr committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  vimrc
3  vimrc
@@ -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"

0 comments on commit b80dd07

Please sign in to comment.
Something went wrong with that request. Please try again.