Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add mapping to script that formats Ruby hashes.

  • Loading branch information...
commit b80dd0765d9f9f6ee6ffa7ec59bdbbd72e8d1023 1 parent a14a382
@bnadlerjr authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  vimrc
View
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"
Please sign in to comment.
Something went wrong with that request. Please try again.