I just switched to vim as my default editor and I am trying to remap the ragtag shortcuts for <%= %>, <% %> and auto-close tag to custom shortcuts:
E.g. the ragtag shortcut for <%= %> is <C-X>=. I tried to remap with:
inoremap <leader>, <C-X>=
But this just prints the = sign to the current buffer. And there does not seem to be ragtag function I could call. Any ideas?
inoremapdisallows nested mappings, and probably C-X = is a mapping. For one time, useimapinstead, otherwise typeimapwithout argument, to know what <c-x>= maps to.