tpope / vim-rails

rails.vim: Ruby on Rails power tools
http://www.vim.org/scripts/script.php?script_id=1567
4.1k stars 383 forks source link

Anyway to disable vim-rails command output to shell? #569

Closed vishless closed 3 years ago

vishless commented 3 years ago

Please see below the example (:Rails about) command.

command

Once I press enter vim redirects to the shell to show the output.

shell-output

Then I come back to vim by pressing Enter. Afterwards I'm greeted with another output from vim itself, please see screenshot below

vim-output

I'm happy with the command output inside vim itself. Is there anyway to disable the shell output for the Rails commands?

Please note that I still want to use shell commands (example !ls)

tpope commented 3 years ago

Installing dispatch.vim will effectively achieve the behavior you desire.