Saturday, April 23, 2011

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

Ben Schmidt <mail_ben_schm...@yahoo.com.au> wrote:
> On 24/04/11 12:41 PM, Fred wrote:
> <snip>
> > 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.).
>
> <snip>
> 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).
> <snip>

Thanks for the prompts.
I went into $VIMRUNTIME/mswin.vim and commented out the mapping of CTRL
+Y.

Fred

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