Saturday, April 23, 2011

Re: Scroll one line up doesn't work in Windows 7 cmdline

On 24/04/11 12:41 PM, Fred wrote:
> Hello,
>
> I'm using vim in Windows 7 via Start -> (search for) vim.
> When I key in Ctrl+Y, I get "Already at newest change". Is there an
> alternative binding, or what can I do?

Sounds to me like you have some default vimrc that came with your Vim that has
mapped a few keys to be more Windows-like, e.g. Ctrl-Y for Redo (and probably
Ctrl-Z for undo, Ctrl-V for paste, etc.).

I personally would seek it out and destroy it. :-)

Though I would be sure to put something in its place so that Vim was running in
non-compatible (sensible) mode.

Perhaps the easiest way to do this is to, within Vim, issue

:e $MYVIMRC

and remove the nasty command(s) in there that are trying to make it
Windows-friendly. You can comment out a line of Vimscript by putting a double
quote character at the beginning of it ("), or you can exit the whole script early
by putting a finish command somewhere (just "finish" alone on a line, without quotes).

Hope this helps,

Ben.


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

Post a Comment