Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 1.95 KB

README.md

File metadata and controls

88 lines (58 loc) · 1.95 KB

dotfiles

These are my personal dotfiles with the majority of the configuration around Vim. Feel free to base your own dotfiles on these, in fact, I encourage it. Using these settings blindly probably isn't a good idea though, it's set up exactly how I want things, not how you want them.

If you do wish to try any of this out though, all you have to do is source or symlink the config file from each directory. This varies depending on the tool. JSHint requires a symlink, but you can source with bash or Vim, for example.

Please hit me on twitter or some other medium, such as signal fires, if you have a question. I hope you find this useful!

Installation (for my own benefit mainly)

All of these instructions assume the repository has been cloned into your home directory under the name dotfiles.

bash

Add this to ~/.bashrc.

source ~/dotfiles/bash/config.sh

ctags

ln -s ~/dotfiles/ctags/config ~/.ctags

git

Add this to ~/.gitconfig.

[include]
	path = ~/dotfiles/git/config

jshint

ln -s ~/dotfiles/jshint/config.json ~/.jshintrc

tmux

Add this to ~/.tmux.conf.

source-file $HOME/dotfiles/tmux/config.conf

You can add ignore rules to ~/dotfiles/git/ignore.

vim

Add this to ~/.vimrc.

source $HOME/.vim/config.vim

Need to install Vundle and do:

git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +BundleInstall

Then compile YouCompleteMe.

cd .vim
./compile/ycm.sh

In .vim/bundle/tern_for_vim run:

npm config set registry http://registry.npmjs.org/
npm install

Things you'll probably also want