I have the following lines at the bottom of my .vimrc.local:
set textwidth=0
set wrapmargin=0
However, whenever I open a new file, both these values are set to their defaults (72 and 2, respectively) and not my custom settings. The other settings in my .vimrc.local file appear to be set (tabs, etc) but just these two keep being reset. If I enter :source ~/.vimrc.local
the settings change and work correctly.
Is there a way to look at what is setting anything when vim starts up? I suspect that some plugin or setting that came with MacVim or Janus is setting these options, but I don't know how to look at every setting at once.
~/.vimrc.local
before. The version of Janus that I found sources it (if it exists) at the end of itsvimrc
file (which is the destination of the~/.vimrc
symlink that it installs, if you use its installation method). Maybe not all versions of Janus do this—many people seem to merge the one I found into their forks, but I have no idea if this is the “official” one or not. Just to clarify, where did you get your Janus? If it is a Git-based one, which commit are you using?