henrik / Dotfiles
My dotfiles
Install
Clone this repo into ~/.dotfiles
:
git clone [email protected]:henrik/dotfiles.git ~/.dotfiles
Then install the dotfiles:
cd .dotfiles
rake
This rake task will not replace existing files, but it will replace existing symlinks.
The dotfiles will be symlinked, e.g. ~/.bash_profile
symlinked to ~/.dotfiles/bash_profile
.
To use fzf in Vim (or the shell), install it with:
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
I intentionally do not install fzf via Vim, because I couldn't get it working well when sharing dotfiles beteeen a macOS host and a Linux guest.
In Vim, run this to install plugins:
:PlugInstall
Don't forget to replace the name and email in gitconfig if you're not Henrik :p
Vim
Uses vim-plug for plugins.
To add plugins:
- Edit
~/.vim/config/plugins.vim
:so %
:PlugInstall
To remove plugins:
- Edit
~/.vim/config/plugins.vim
:so %
:PlugClean
tmux
Make it integrate with the OS X system clipboard:
brew install reattach-to-user-namespace
Extras
The extras
directory contains additional configuration files that are not dotfiles: