All Projects → henrik → Dotfiles

henrik / Dotfiles

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:

  • VibrantInk.itermcolors is a colorscheme for iTerm2 (source).

  • On a new Mac:

    • Run brew bundle --file ~/.dotfiles/extras/Brewfile to install the apps I want.
    • Run ~/.dotfiles/extras/os_x_defaults.sh in the Terminal to change some silly defaults.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].