Friday, September 21, 2012

Re: [mszamot@gmail.com: Re: a small plugin for :call system() in vim]

Excerpts from Marcin Szamotulski's message of Sat Sep 22 01:25:25 +0200 2012:
> In terminal vim "!..." jumps back and forth to the terminal. I prefer to
> stay inside vim. One of the reasons is quite trivial: I use different
> background color in vim (a dark one) and terminal (rather light). And
> there is a small delay time when eyes adjust to another contrast.
Well - at least you should update your documentation and tell people why
you're using such a workaround.

I'm not sure whether your code is worth a plugin. Eventually a tip on
the wiki is equally fine.

An alternative could be setting an env var in Vim and making your shell
set a background color in the terminal when run from within vim (env var
is set)

If you wan to add history and the like - then you may want to have a
look at additional plugins such as
[Conque Shell plugin](http://code.google.com/p/conque)
[vimproc plugin](http://github.com/Shougo/vimproc/tree/master/doc/)

Then you may have bash history and the like - but no more vi keys.

vim-addon-async is yet another simple buffer view of shell commands
also implementing a minimal history.
github.com/MarcWeber/vim-addon-views is a way to view shell command
outputs in vim buffers supporting refreshing by :e! and the like.

Marc Weber

--
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

No comments: