Skip to content

Latest commit

 

History

History
66 lines (37 loc) · 2 KB

README.md

File metadata and controls

66 lines (37 loc) · 2 KB

Management of my dotfiles

Quick start

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.

Dotfiles description

  • bash: .bashrc

  • vim: .vimrc, .vim/

  • fish: .config/fish/

  • tmux: .tmux.conf

  • git: .gitconfig, .gitignore_global

  • clang: .clang-format

Installation configuration

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 configuration Docs

Git submodules

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

Reference

  1. Anish: Managing Your Dotfiles

  2. MIT: Missing Semester: Command-line Environment Dotfiles

  3. Github dotfiles page