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.
Written by Wojtek Ryrych
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#