Skip to content

joakimk/dotfiles

 
 

Repository files navigation

My dotfiles

Install

# deps on ubuntu: sudo apt-get install ruby rake -y
git clone https://github.com/joakimk/dotfiles.git ~/.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.

<.replace>

If e.g. ~/.dotfiles/gitconfig contains <.replace github-token> then

  • that bit will be replaced with the contents of ~/.github-token
  • the resulting file will be written to ~/.dotfiles/gitconfig directly, not symlinked

So if you want to make changes to that file, make them in ~/dotfiles/gitconfig and then run rake install again.

Changes to symlinked files without <.replace> bits do not require a rake install on every change as they're symlinked.

Vim

I'm assuming MacVim (brew install macvim) and at least Vim 7.

Vim plugins are each their own directory under vim/bundles thanks to Pathogen.

Todo

  • The "m" command breaks in some situations. Tempfix that sometimes work: :unlet g:autoloaded_rails.

Extras

The extras directory contains additional configuration files that are not dotfiles:

  • jellybeans_like_in_mvim.itermcolors is a colorscheme for iTerm2 adapted to match the colors in mvim using jellybeans+.
    • Also set xterm-256color to get the right colors in tmux (brew install tmux). Unlimited scrollback, uncheck lion style fullscreen.

OSX

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 91.8%
  • Shell 7.6%
  • Other 0.6%