How to set vimrc location

vim

Steps

  1. cp ~/.vimrc {New directory}/.vimrc
  2. rm ~/.vimrc
  3. ln -s {New directory}/.vimrc ~/.vimrc
  4. vi ~/.vimrc