This repository is powered by dotbot.
After cloning this repo, running install
will automatically deploy the dotfiles according to the config file install.conf.yaml
.
Running install
multiple cause no side effects.
To clone all submodules in this repo (now mainly for vim plugins), using git clone --recursive https://github.com/piaoliangkb/dotfiles.git ~/.dotfiles
.
Or you can use git submodule init; git submodule update
in your existing cloned folder to initialize and update submodules.
-
bash:
.bashrc
-
vim:
.vimrc
,.vim/
-
fish:
.config/fish/
-
tmux:
.tmux.conf
-
git:
.gitconfig
,.gitignore_global
-
clang:
.clang-format
My config file is modified based on anish's install configuration.
Setting force: true
will remove old dotfiles and relink them to those in this repo. (Not recommended!!)
By default, dotbot will not remove and relink your existing dotfiles.
Dotbot, vim plugins are git submodules of this repo.
Add dotbot as a submodule in this repo (see more details here):
git submodule add https://github.com/anishathalye/dotbot
Add vim plugins to specific folder:
git submodule add https://github.com/itchyny/lightline.vim .vim/pack/vendor/start/lightline
Remove specific submodule:
git rm .vim/pack/vendor/start/some-submodule