

He also reviews Snipmate plugin from Michael Sanders and demonstrates how to write your own snippets. Then it goes into details about using the Rails.vim plugin from Tim Pope, for quick navigation in a Rails project, switching between files, working in parallel with vertical/horizontal splits, etc. It starts by giving advice on how to type faster, produce code faster and that way you don’t interrupt your thinking process. It’s recorded from a person who uses Vim on daily basis for writing Rails code, so the content of the screencast is more advanced since he describes his daily workflow. “Vim for Rails Development” is a professional, well-recorded, 37 minutes long, $9 screencast which you can buy from Codeulate Screencasts. Having your Vim environment for Rails development setup, it’s time for some more advanced screencast. # add "source ~/.vim/vimrc" to ~/.vimrc file # Command-T cd ~/.vim/bundle/Command-T/ruby/command-t Git clone git:///akitaonrails/vimfiles.git ~/.vim Here are instructions that I use for installing Vim with plugins for Rails development on Ubuntu: In that screencast he also talks about basics of using Vim and reviews some plugins like: NERDTree, FuzzyFinder and NERD snippets.
#Rubymine asdf install
About a year ago Akita on Rails released a free Vim screencast Rails on Vim where he goes into details how to install Vim editor on Linux / Mac / Windows platforms with already installed plugins for Rails development. And, instead of doing that on your own, it’s better choice to clone an already prepared installation which you can also customize if you want to. Then, for developing Ruby on Rails applications you have to setup your Vim installation with plugins that will make your life much easier. It took me some time while I get comfortable, but it is very important step toward using the keyboard more effectively. One of the most important things that I learned from that book is how to properly position hands on the keyboard (ASDF/JKL:). Learning process of any new tool starts with learning the basics, so I found A Byte of Vim to be short, strict and well organized free book to learn the basics of vi/vim.

Other choices could be Textmate (only on Mac and paid), or Emacs (I won’t go into details why I prefer Vim, but you can read more about this editor war at wikipedia). But first, why use Vim!? In short: it’s cross platform, open source and free text editor that lets you efficiently edit text.

So, I thought it would be good to write a new blog post about where to start and how to learn Vim for Rails development by referencing some books/screencasts.Īt the end I will also highlight some details of “Vim for Rails Development” screencast.
#Rubymine asdf update
Update 2: I’ve created my own vimfiles, and you should too.įew days ago I received a free copy of Vim for Rails Development from Ben Orenstein of Codeulate Screencasts and we will be showing it at MKRUG meetup this Thursday (). Update 1: There are new updated vimfiles from Akita on Rails.
