Making Vim so Much Easier!
-
Go to
vimfiles
folder# Linux cd /usr/share/vim/vimfiles/ # Windows 10 cd /mnt/c/Users/[username]/vimfiles/
-
Clone git repo
mkdir -pv pack/github/start cd pack/github/start git clone git@github.com:YodasWs/vim-yodasws.git
-
Link vimrc
Two options:
-
Link files
# Linux ln -s /usr/share/vim/vimfiles/pack/github/start/vim-yodasws/.vimrc /usr/share/vim/vimrc # Windows 10 ln -s /mnt/c/Users/[username]/vimfiles/pack/github/start/vim-yodasws/.vimrc /mnt/c/Users/[username]/vimfiles/_vimrc
ℹ️ On Windows 10, you'll probably also want to connect the console/Ubuntu vimfiles with your GUI vimfiles:
sudo ln -s /mnt/c/Users/[username]/vimfiles/pack /usr/share/vim/vimfiles/pack
-
Source from your vimrc
source $VIM/vimfiles/pack/github/start/vim-yodasws/.vimrc
-