Wednesday, May 25, 2016

How to clear screen before running a shell command after bang(!) in freebsd

Starting working in freebsd, I notice the experience of shell command (!) is quite different in linux.

for example, ":!python %" in linux will clear the screen first and show the output of previous command and after
executing finished it returns to vim

but, ":!python %" in freebsd will scroll vim screen up and output directly below vim gui without
clear the screen and show the previous output.

Someone in stackoverflow said ":!clear; xxx" could be useful if I want to clear the screen in freebsd,
but it still can't show me the previous command output.
(http://stackoverflow.com/questions/6885792/clear-screen-before-bang )

Is there an option or building config for me to change the bang(!) experience in freebsd to linux version ?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment