How do I change vimrc location?

Lượng Tiger

New member
How do I change vimrc location?
Answer
What if you want to move everything?
  1. on your ~/.bashrc , add: VIMINIT=”source ~/.config/
    vim /
    vimrc ” …
  2. on your ~/.config/
    vim /
    vimrc file, before your plugin manager, set the autoload directory adding: set runtimepath+=~/.config/
    vim ,~/.config/
    vim /after. …
  3. also on your
    vimrc file, add: set viminfo+=n~/.config/
    vim /viminfo.
 

Tìm kiếm

Back
Top