diff --git a/README.md b/README.md index 966486e..db78958 100644 --- a/README.md +++ b/README.md @@ -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-Space to autocomplete. Tab for snipmate snippets. * `,ci` to change inside any set of quotes/brackets/etc + * `,#` and ',"' to surround a word in #{ruby interpolation} or "quotes" #### Tab Navigation diff --git a/vim/plugin/settings/yadr-keymap.vim b/vim/plugin/settings/yadr-keymap.vim index 8f1ebfd..8fcffaf 100644 --- a/vim/plugin/settings/yadr-keymap.vim +++ b/vim/plugin/settings/yadr-keymap.vim @@ -38,6 +38,11 @@ imap _ imap - imap - +" ,# Surround a word with #{ruby interpolation} +map ,# ysiw# +" ,# Surround a word with quotes +map ," ysiw" + " gary bernhardt's hashrocket imap =>