python - Executing script in vim creates unwanted whitespace in terminal -


i'm writing vim plugin , @ 1 point in code used silent bang (!) execute python script. executed when plugin loaded, in other words, whenever vim starts up. let's when start vim on top line of terminal window. when exit vim, on bottom line of terminal window whitespace in between command typed , current position. annoying , if has insight, awesome. thanks!

here example:

in sample_plugin.vim:

silent !path/to/script.py

i start vim; positioned @ top of terminal. quit vim; positioned @ bottom of terminal.

unfortunately, can't post images because i'm new.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -