Skip to content

jkatada/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

How to install

Prepare

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]

Windows 10

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.

Mac/Ubuntu

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.

Update

dein.vim

Update and Push

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".

Pull and Update (on other repository)

Execute the following command. (For Windows use Git Bash)

cd ~/dotfiles
git pull
git submodule update

dein.vim plugins

Execute the following command on vim.

:call dein#update()

vscode extensions list

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published