I have two tabs on my terminal. The first one is where I'm doing my project (html & css). On the other tab I'm working on my .vimrc. I added a new plugin (nerdcommenter) and it works on the .vimrc when I tested it because I also set the following augroup inside of it to make sure it will always source the ~/.vimrc
augroup myrefresh
au!
au bufwritepost .vimrc source ~/.vimrc
augroup END
nerdcommenter works on the tab where the .vimrc is but it didn't work to other tab where the html and css located. I tried to run :e in the html file to test if the nerdcommenter functionality will work on it but still it didn't work. What could be the problem?
source $MYVIMRCto see if that helps. – D. Ben Knoble Dec 20 '18 at 02:08:wthen:PluginInstall. – isemaj Dec 20 '18 at 02:09~/.vimrcwhile my question is about without leaving the other file opened in vim but on the other tab in the terminal. – isemaj Dec 20 '18 at 07:33