Install git.
Setup git global settings.
git config --global core.autocrlf false
git config --global credential.helper store
git config --global user.name "Xxxx, Yyyy"
git config --global user.email [email protected]
Clone dotfiles.
cd %HOMEPATH%
git clone https://github.com/jkatada/dotfiles
Clone dein.vim.
cd dotfiles
git submodule init
git submodule update
Create symbolic link (Use command prompt as an administrator)
cd %HOMEPATH%
mklink ".vimrc" "dotfiles\.vimrc"
mklink ".gvimrc" "dotfiles\.gvimrc"
mkdir .config\git
mklink ".config\git\ignore" "..\..\dotfiles\.config\git\ignore"
Refer to Windows directory.
Clone dotfiles.
cd
git clone https://github.com/jkatada/dotfiles
Clone dein.vim.
cd dotfiles
git submodule init
git submodule update
Create synbolic link.
cd
ln -s dotfiles/.vimrc .vimrc
ln -s dotfiles/.gvimrc .gvimrc
mkdir -p .config/git
ln -s ~/dotfiles/.config/git/ignore .config/git/ignore
Refer to Mac directory or Ubuntu directory.
Execute the following command. (For Windows use Git Bash)
cd ~/dotfiles
git submodule foreach git pull origin master
After execution of the above command, execute "git add", "git commit" and "git push".
Execute the following command. (For Windows use Git Bash)
cd ~/dotfiles
git pull
git submodule update
Execute the following command on vim.
:call dein#update()
Execute the following command. (For Windows use Git Bash)
code --list-extensions > ~/dotfiles/vscode/extensions
Install extensions with new extensions list.
~/dotfiles/vscode/install_extensions.sh