Ruby Science: Extract Method

There are numerous ways in which you could run a spec without leaving Vim. My specific setup use:

  • tmux for managing split views in the terminal,
  • vimux to interact with tmux from vim; and
  • turbux for running my tests in tmux from vim.

This might be an overly-complicated setup though.

I don’t recall what other tools are out there that allow you to have a similar setup, but I do recommend trying out vim-rspec at least.