Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.06 KB

README.md

File metadata and controls

52 lines (41 loc) · 1.06 KB

dotfiles

Setup

git clone --bare $DOTFILES_REPO_URL $HOME/.dotfiles
alias dtf='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
dtf config --local status.showUntrackedFiles no
dtf reset --hard HEAD

Prerequisites

Update git configuration

git config --global user.name <name>
git config --global user.email <email>

Usage

dtf add /path/to/file
dtf commit -m "message"
dtf push

Vim

Plugin Manager

:PackerSync

Manual Plugin Installation

vimplugin='open-browser'
if [[ -n $vimplugin ]]; then
  mkdir -p "$HOME/.config/nvim/pack/$vimplugin/start/"
  cd "$HOME/.config/nvim/pack/$vimplugin/start/"
  git clone --depth 1 [email protected]:tyru/open-browser.vim.git
fi
unset vimplugin