On Mar 22, 12:43 am, Rostyslaw Lewyckyj <[email protected]> wrote:
> Sorry to bother you, but I must be doing something wrong.
> I fired up Gvim and echoed $HOME and $VIM.
> I copied the example_vimrc.vim and example_gvimrc.vim files
> to $VIM\vimrc and $VIM\gvimrc
> Then I tried to create private $HOME\_vimrc and $HOME_gvimrc files
>
> As soon as I put the line  'set  number' into either of those files
> I lose the ability to visually  select text via <SHIFT> + keyboard
> line-up and line-down. Now these key presses cause skips of
> approximately 20 lines up or down.
>

Shift+Up and Shift+Down are by default synonyms for <PageUp> and
<PageDown>. However, the default Vim installer will create $VIM/_vimrc
for you. In this auto-installed file, there is the command, "behave
mswin". This command changes the default behavior of <S-Up> and <S-
Down> to be as you expect, by setting the 'selectmode' option. Since
you created your own $HOME/_vimrc file, Vim no longer sources the $VIM/
_vimrc file as discussed previously.

You should look at the $VIM/_vimrc file to see if there is anything
else you wish to retain from the "default" settings, and copy it into
your own $HOME/_vimrc.

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

Reply via email to