-1

What's the meaning of ^= in the following line?

set runtimepath^=~/.vim

This should be a simple one but I've searched and found nothing. Thanks for your help.

Maxim Kim
  • 13,376
  • 2
  • 18
  • 46
NeoZoom.lua
  • 1,442
  • 14
  • 31

1 Answers1

1

Prepend runtimepath with ~/.vim,

See :h :set^=

:se[t] {option}^={value}                *:set^=*
            Multiply the {value} to a number option, or prepend
            the {value} to a string option.  When the option is a
            comma separated list, a comma is added, unless the
            value was empty.
            Also see |:set-args| above.
Maxim Kim
  • 13,376
  • 2
  • 18
  • 46