vim: ,# and ," for wrapping words in ruby interpolation or quotes
This commit is contained in:
parent
7ec7e3c34c
commit
6cefaf13f7
@ -333,6 +333,7 @@ files contain key mappings as well (TODO: probably will move them out to skwp-ke
|
|||||||
* `Cmd-'` and `Cmd-"` to change content inside quotes
|
* `Cmd-'` and `Cmd-"` to change content inside quotes
|
||||||
* Cmd-Space to autocomplete. Tab for snipmate snippets.
|
* Cmd-Space to autocomplete. Tab for snipmate snippets.
|
||||||
* `,ci` to change inside any set of quotes/brackets/etc
|
* `,ci` to change inside any set of quotes/brackets/etc
|
||||||
|
* `,#` and ',"' to surround a word in #{ruby interpolation} or "quotes"
|
||||||
|
|
||||||
#### Tab Navigation
|
#### Tab Navigation
|
||||||
|
|
||||||
|
@ -38,6 +38,11 @@ imap <silent> <D-d> _
|
|||||||
imap <silent> <D-K> -
|
imap <silent> <D-K> -
|
||||||
imap <silent> <D-D> -
|
imap <silent> <D-D> -
|
||||||
|
|
||||||
|
" ,# Surround a word with #{ruby interpolation}
|
||||||
|
map ,# ysiw#
|
||||||
|
" ,# Surround a word with quotes
|
||||||
|
map ," ysiw"
|
||||||
|
|
||||||
" gary bernhardt's hashrocket
|
" gary bernhardt's hashrocket
|
||||||
imap <c-l> <space>=><space>
|
imap <c-l> <space>=><space>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user