cl! abbreviation for logging, and ;; for closing javascript lines
This commit is contained in:
parent
522c250204
commit
695a4a0d87
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user