You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: If the path(s) exists, `$MYVIMRC` and `$MYGVIMRC` are set. So `:edit $MYVIMRC`does not open generated vimrc (`~/.vim/vimrc`), but above vimrc/gvimrc.
358
+
NOTE: If the path(s) exists, `$MYVIMRC` and `$MYGVIMRC` are set. So `:edit $MYVIMRC`opens above vimrc/gvimrc, not generated vimrc (`~/.vim/vimrc`).
357
359
358
-
This file is copied to `~/.vim/vimrc` and `~/.vim/gvimrc` with magic comment (shows error if existing vimrc/gvimrc files exist with no magic comment).
359
-
360
-
And you can enable/disable vimrc by `volt profile use` (or you can simply remove `$VOLTPATH/rc/<profile name>/vimrc.vim` file if you don't want vimrc for the profile).
361
-
362
-
```
363
-
$ volt profile use -current vimrc false # Disable installing vimrc on current profile
364
-
$ volt profile use default gvimrc true # Enable installing gvimrc on profile default
365
-
```
360
+
The files are copied to `~/.vim/vimrc` and `~/.vim/gvimrc` with magic comment.
361
+
Because volt shows an error if existing vimrc/gvimrc files exist with no magic comment which is not created by volt.
366
362
367
363
See `volt help profile` for more detailed information.
0 commit comments