Home Archives Search Feed

See where vim settings came from

Published March 15, 2022

Ever wonder which plugin or config in vim is responsible for setting something like tabs to represent as four spaces? (e.g. ts=4)

Wonder no more! vim will tell you! The magic is the verbose keyword in the setting query

:verbose set ts?
  tabstop=2
        Last set from ~/.vimrc line 86:
:verbose set ts?
  tabstop=2
        Last set from ~/.vim/ftplugin/go.vim line 1

Last modified March 15, 2022   #vim  


← Newer post  •  Older post →