vim tips and tricks
Here's how to show, set, and reset vim's variables:
:set - shows vars different from defaults :set all - shows all values :set foo? - shows the value of foo :set foo+=opt - add opt to the value w/o changing others :set foo-=opt - remove opt from value :set foo& - reset foo to default value :setlocal foo - only the current buffer :verbose set foo? - tells you where it was last set!