Reputation: 252
I usually develop with vim open in multiple tabs/terminals. When I make a change to my vimrc, this means closing and reopening all sessions of vim. Is there a way to automatically reload your vimrc in ALL open sessions? It seems like if this was possible, the answer would be easy to find, but I thought I would ask anyway.
I've already looked here. As the answer suggests, it doesn't work for regular vim (only gvim)
Upvotes: 4
Views: 887
Reputation: 31110
See this answer about clientserver on a Mac (assuming this might be your problem).
Upvotes: 1
Reputation: 59637
You can reload your vimrc without exiting vim:
:source ~/.vimrc
But you'll need to do this across all open instances of vim.
Upvotes: 1