This is a fork of the original dotfiles promoted by holman. This README is based on it aswell. It has now diverged a lot, since I've customized everything as I've seen fit, and discarded zsh in favour of bash.
I have different machines that I use to work. iMac/MacBook at work, iMac at home, MacBookAir when travelling. But my development environment should be the same everywhere. This repo helps me keep everything up to date everywhere, and also setup new environments very fast.
In my environment I work with these things:
- OSX
- Terminal.app
- vim
- bash
- git
I liked the original project's focus on modularity, so I used it as a starting point for my own dotfiles. Everything topic related is in the same folder, making it easier to organize and know where everything is.
You can read the oroginal holman's post on the subject.
git clone git://github.com/mrsimo/dotfiles
cd dotfiles
bundle
rake install
You can put it anywhere. I like to have in my Dropbox folder, so that if I ever change something it will be replicated on all my other machines without having to pull the repository.
The main file you'll want to change right off the bat is bash/bashrc.symlink
, which sets up a few paths that'll be different on your particular machine.
There's one thing I don't like from Terminal.app, and it's that I can't switch tabs with ⌘+num
. For that there are some SIMBL plugins that can be used.
When you rake install it will execute .rb
files, and I've included the terminal/simbl.rb
which uses my library geoffrey to install SIMBL and the plugins I use.
As with everyone else, my vim configuration is probably only suited to me, but you can use it as a starting point if you want. I love the colorscheme, molokai
here's a screenshot.
I use pathogen to organize them, so you can find them all in the .vim/bundle
directory. You can easily remove them and/or install new ones.
I recommend you check the documentation of every one of them, it's usually in the docs folder.
-
NERD_tree
: Tree view of the file structure. Bound to<C-t>
. -
CommandT
: TextMate-like file finding inside your project. Bound to<C-f>
. -
bufexplorer
: Rapidly list your open buffers. Bound to<C-b>
. -
ack.vim
: Superfast find in all your projects. Bound to<D-F>
.
-
delimitMate
: TextMate-like automatic closing of things like quotes, parenthesis, etc. The best I've found. -
vim-tcomment
: TextMate-like automatic commenting. In my opinion, heaps better thanNERD_Commenter
. Bound to<D-/>
-
vim-rails
: All the love you need for your Rails needs. -
vim-surround
: Handy extra syntactic sugar to have "surroundings", so you can change quotes by double quotes and things like that. -
sparkup
: Write html a lot faster (like zencoding). -
snipmate.vim
: TextMate-like snippets. -
vim-repeat
: Helpful to use repeat.
with plugins. -
vim-endwise
: Addsend
smartly in your ruby code. -
vim-fugitive
: Awesome plugin if you work with git. See diff's and stuff without leaving your editor.
Vim understands a lot of formats already, but there's also improvements. There's also plugins to improve syntax highlighting in any language.
-
rainbow_parenthesis
: Colorizes your parenthesis differently to help you in complex situations. -
syntastic
: Checks your syntax and tells you when there's syntax errors in your code. -
vim-javascript
: Improved support for js files. -
vim-markdown
: Improved support for markdown files. -
vim-coffee-script
: Support for coffee-script files. -
vim-cucumber
: Support for cucumber files. -
vim-haml
: Kick ass support for haml files.