I am using the plugin vim-latex/vim-latex. It's a fantastic plugin for sure. But I want some of my own mapping to be there. Say whenever I press 4 I want $$ in return with the cursor on the second $, or whenever I press { I want {} in return with the cursor on }.
Earlier I added the following to my .vimrc
:
inoremap 4 $$ < esc>i
inoremap { {} < esc>i
inoremap 0 <Esc>lla
The last one takes the cursor 2 steps to the right while in insert mode.
But these are not working now. What can I do to achieve similar functionality now? Thanks in advance.