I'm trying to create a mapping in the insert mode that would toggle the PASTE option.
The mapping is defined like this:
inoremap - <ESC>:set map!<CR>i
The thing is, it works the first time and after that, when i type '-', a literal '-' is put in. According to :verbose onramp -, the mapping doesn't change.
Any ideas?
Thanks!!