fabiokung / vimfiles forked from akitaonrails/vimfiles

The ~/.vim directory that we share at work

This URL has Read+Write access

fabiokung (author)
Thu Jan 22 21:15:45 -0800 2009
commit  cf75625986a66e4317b682c99a955de08026c6f8
tree    dd3ba375ebf475fc90f4cc9798675f5401a8d017
parent  a205931450e10ccc847826a05c6c43d9795c2e9a
name age message
file .gitignore Sat Jan 03 11:10:27 -0800 2009 Adding more Textmate snippets for Ruby, Rails a... [Fabio Akita]
file README.textile Loading commit data...
directory after/ Sat Jan 10 05:47:31 -0800 2009 Added some snippets for Factory-Girl, browse Ra... [cassiomarques]
directory autoload/
directory bin/ Fri Jan 09 13:09:17 -0800 2009 Added new version on fuzzyfinder_textmate, adde... [cassiomarques]
directory colors/ Sat Nov 01 05:41:07 -0700 2008 latest peaksea [Martin Grenfell]
directory compiler/ Mon Jun 02 15:58:08 -0700 2008 add the vim-ruby gem files [Martin Grenfell]
directory doc/
directory ftdetect/ Wed Oct 29 20:15:36 -0700 2008 add tpopes haml/sass hax [scrooloose]
directory ftplugin/ Wed Oct 29 20:15:36 -0700 2008 add tpopes haml/sass hax [scrooloose]
directory indent/ Wed Oct 29 20:15:36 -0700 2008 add tpopes haml/sass hax [scrooloose]
directory macros/ Sun Dec 07 16:37:23 -0800 2008 add Rsass and RSsass commands [scrooloose]
directory plugin/
file rgb.txt Fri Nov 07 18:41:54 -0800 2008 Upgrade CSApprox to 1.1.0 with the included rgb... [halorgium]
directory ruby/ Sat Oct 18 21:50:45 -0700 2008 add fuzzyfinder textmate style mod gotta remov... [Martin Grenfell]
directory snippets/
directory syntax/ Wed Oct 29 20:15:36 -0700 2008 add tpopes haml/sass hax [scrooloose]
directory templates/ Wed Nov 05 14:14:50 -0800 2008 add a couple of html templates [scrooloose]
file vimrc
README.textile

Usage

In your home directory (Linux or Mac), run:


mv ~/.vim ~/vim_old # backup your old .vim folder
git clone git://github.com/akitaonrails/vimfiles.git ~/.vim

mv ~/.vimrc ~/vimrc_old
ln -s ~/.vim/vimrc ~/.vimrc

If you’re using Windows do the following under C:\Documents and Settings\Your_User


git clone git://github.com/akitaonrails/vimfiles.git vimfiles

Still on Windows, run the following command in a Command Prompt console:


cd %HOME%\vimfiles

vim after\plugin\snippets.vim +":%s/.vim/vimfiles/g" +":x!"
vim plugin\fuzzyfinder_textmate.vim +":%s/.vim/vimfiles/g" +":x!"
vim vimrc +":%s/desert/vibrantink/g" +":x!"
vim vimrc +":%s/monaco/Consolas:h12/g" +":x!"
vim vimrc +":%s/<c-f>/<c-t>/g" +":x!"

copy /y vimrc ..\_vimrc

Monaco is for Mac, Consolas is for Windows (if you donīt have the new Office nor
Visual Studio installed. download from this URL: http://www.microsoft.com/downloads/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en).
Under Linux better try “Bitstream Vera Sans Mono”

References

  • MacVim – http://code.google.com/p/macvim/
  • gVim – http://www.vim.org/download.php#pc
  • Using Vim as a Complete Ruby on Rails IDE – http://biodegradablegeek.com/2007/12/using-vim-as-a-complete-ruby-on-rails-ide/
  • Why, oh WHY, do those #?@! nutheads use vi? – http://www.viemu.com/a-why-vi-vim.html
  • Efficient Editing With vim – http://jmcpherson.org/editing.html
  • Byte of Vim – http://www.swaroopch.com/notes/Vim