[Aaron Griffin]
Bram has spoken - vim is an editor.  It is not a shell.

Quite granted.

I see *nothing* that another terminal cannot do.

I'm happy with what Vim is. However, here, you could use some more imagination :-). There are a few things another terminal cannot easily do, while these things are more akin to Vim editing in read-only mode than they are to shell operations.

For example, a shell buffer could do syntax coloring of shell output, when within a given highly interactive subsystem like Lisp or R, say. As long as this precise subsystem is active, the "file type" could be set to drive the highlighting. Another thing is the ability to use Vim search facilities through some voluminous output. Yet another is the ability to scroll and wander within previous output, or even do clever selections like Vim block, or otherwise, which most terminals just do not offer.

However, Vim does not easily allow editing of growing files (at least so far that I know), and a shell buffer essentially holds growing output. Moreover, Vim does not really proxy interactive communication with other programs, while this seems essential to implement shell buffers.

Shell buffers also come, sooner or later, with their own complex requirements, like file name completion (and then, the necessary directory tracking that goes with it), following the stty settings (like echo), consequent output cleanup and filtering, more localisation concerns, etc. It is more a can of worm than many might think.

I prefer Vim to stay clean and efficient like it is. Yet, I regret not having its syntax highlighting abilities over my shell output...

--
François Pinard   http://pinard.progiciels-bpi.ca

Reply via email to