cl! abbreviation for logging, and ;; for closing javascript lines

This commit is contained in:
Yan Pritzker 2012-11-16 12:19:45 -06:00
parent 522c250204
commit 695a4a0d87
2 changed files with 4 additions and 2 deletions

View File

@ -3,4 +3,4 @@
abbr rlb Rails.logger.banner
abbr rld Rails.logger.debug
abbr pry! require 'pry'; binding.pry
abbr cl! console.log( )<left><left>

View File

@ -72,6 +72,9 @@ vmap ,{ c{<C-R>"}<ESC>
" gary bernhardt's hashrocket
imap <c-l> <space>=><space>
" Semicolon at end of line by typing ;;
inoremap ;; <C-o>A;<esc>
" Change inside various enclosures with Cmd-" and Cmd-'
" The f makes it find the enclosure so you don't have
" to be standing inside it
@ -239,6 +242,5 @@ map ,hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<'
" Source current file Cmd-% (good for vim development)
map <D-%> :so %<CR>
" ,hp = html preview
map <silent> ,hp :!open -a Safari %<CR><CR>