vim: ,# and ," for wrapping words in ruby interpolation or quotes

This commit is contained in:
yan
2012-05-07 23:55:41 -07:00
parent 7ec7e3c34c
commit 6cefaf13f7
2 changed files with 6 additions and 0 deletions

View File

@@ -38,6 +38,11 @@ imap <silent> <D-d> _
imap <silent> <D-K> -
imap <silent> <D-D> -
" ,# Surround a word with #{ruby interpolation}
map ,# ysiw#
" ,# Surround a word with quotes
map ," ysiw"
" gary bernhardt's hashrocket
imap <c-l> <space>=><space>