This is how I manage my config files.
This setup requires ruby and rake gem. Once ruby is installed, run
gem install rake
Alright, here we go:
Clone the repository
git clone git://github.com/apraditya/config_files.git
Go to config_files and run
Optionally, if you use Oh-My-Zsh, you can manually link
ln -s ~/path/to/config_files/zshrc_with_omz ~/.zshrc
Here are the vim plugins that I use most:
- Command-T. It provides an extremely fast, intuitive mechanism for opening files and buffers with a minimal number of keystrokes.
- nerdtree. It allows you to explore your filesystem and to open files and directories. It presents the filesystem to you in the form of a tree which you manipulate with the keyboard and/or mouse. It also allows you to perform simple filesystem operations.
- vim-cucumber. Vim Cucumber runtime files
- vim-haml. Vim runtime files for Haml, Sass, and SCSS
- vim-ragtag. ghetto HTML/XML mappings (formerly allml.vim)
- vim-rails. Ruby on Rails power tools
- vim-surround. It is all about "surroundings": parentheses, brackets, quotes, XML tags, and more. The plugin provides mappings to easily delete, change and add such surroundings in pairs.
- vip. It's a vim integration for PHP (formerly known as PDV)
- vim-pathogen. It makes installing plugins and runtime files in their own private directories super easy!
To install all plugins above, simply run:
To install a specific plugin, run
rake vim:install_plugin[plugin_name]. For example:
Similarly for update the plugin, run
rake vim:update_all_plugins to update all plugins from their respective repositories. And to update a specific plugin, run
Soon I'll add snipmate.vim as a git submodule. It's a vim script that implements some of TextMate's snippets features in Vim.