diff --git a/vim/plugin/settings/abbr.vim b/vim/plugin/settings/abbr.vim index acaf57a..e2a7789 100644 --- a/vim/plugin/settings/abbr.vim +++ b/vim/plugin/settings/abbr.vim @@ -3,4 +3,4 @@ abbr rlb Rails.logger.banner abbr rld Rails.logger.debug abbr pry! require 'pry'; binding.pry - +abbr cl! console.log( ) diff --git a/vim/plugin/settings/yadr-keymap.vim b/vim/plugin/settings/yadr-keymap.vim index 9d3ee93..77d75d7 100644 --- a/vim/plugin/settings/yadr-keymap.vim +++ b/vim/plugin/settings/yadr-keymap.vim @@ -72,6 +72,9 @@ vmap ,{ c{"} " gary bernhardt's hashrocket imap => +" Semicolon at end of line by typing ;; +inoremap ;; A; + " 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 :so % - " ,hp = html preview map ,hp :!open -a Safari %