VIM faster Text-blocks with onoremap

I've found nice VIM feature to add mapping to operators

onoremap p i(
onoremap m i{
onoremap " i"
onoremap ' i'

Now i can press
c' d'
to use defined text-blocks

This technique didn't work with visual mode (you must press vi')
comments powered by Disqus