I would love to map << and >> to single keys to speed up my workflow, but I can't find any info on how to write the remap in my vimrc. Any idea how I can get my remap on?
You're probably looking for :noremap
:
:noremap > >>
:noremap < <<
If you just use :map
, you of course get recursively defined function, which is hilarious. (^C
will stop it.) The :noremap
variant doesn't recursively expand mappings.