On Sat, Aug 14, 2010 at 10:27 PM, John Little wrote:
>
>> Why is Windows "QuickEdit mode" command prompt unable to do the same?
>> That seems incredible.
>
> xterm (and so many of its emulators) defines an escape sequence that
> requests mouse events to be passed to the app as escape sequences.
> cmd.exe presumably lacks such a mechanism.  It seems to be a bare-
> bones terminal emulator; the solution would be to find a better one,
> or use gvim.

I'd personally highly recommend PuTTY over cmd.exe + cygwin ssh.
Cygwin is great for a lot of things, but setting up a Cygwin
environment just for ssh is like using a cruise missile to light a
cigarette.  If you really want to work with Cygwin, I'd go with Cygwin
+ X11 + xterm + ssh... if you've got a full unix environment set up,
might as well use it.  xterm is a much more feature-filled terminal
emulator than cmd.exe, and mouse support will Just Work for you with
both Cygwin/X + xterm and with PuTTY.

As far as colors go, CSApprox[1] is a great plugin.  (Full disclosure,
I am the author).  Assuming you have a 256 color terminal (both xterm
and PuTTY are), it does a fantastic job of making colorschemes in the
terminal look almost identical to how they look in gvim.  If your
$TERM variable already advertises 256 color support, things usually
Just Work, and if not the only setup required is to get your terminal
to correctly set $TERM (or to kludge vim's setup to assume that $TERM
== 'xterm' always means 256 colors are available, for instance).

~Matt

[1] http://www.vim.org/scripts/script.php?script_id=2390

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui