Last Updated: June 24, 2016
·
240
· ryrych

Distractless viewing rails logs with Rlog

Vim, Tmux are indispensable tools for distractless coding experience. Let’s say that you have two Tmux windows: one for Vim and the other one for elasticsearch, redis-server, workers, scheduler, or rails server. Still if you get 500 you have to switch to the second window with <kbd>Ctrl prefix n</kbd>. With :Rlog you don’t have to. :Rlog is a part of vim-rails by Tim Pope.

vim-rails is more powerfull than that. It allows you, for example to query a database directly from Vim command mode.