On 16/08/11 06:29, Gary Johnson wrote:
On 2011-08-15, Gary Johnson wrote:
On 2011-08-15, István wrote:

Hi all,

Since I upgraded to 7.3 i lost the functionality of home/end pgup/pgdown up/
down left/right keys on Linux/Fedora14 x86_64.


I am wondering if the previous state can be reverted when these keys just work
without any configuration.

Are you using the GUI version of Vim (gvim) or the terminal/console
version (vim)?  If you're using vim in a terminal, which terminal
are you using?

How did you upgrade?  Using one of Fedora's package managers or did
you build Vim yourself?

What are the first three lines of the output of the ":scriptnames"
command?

I'm running Fedora 14 x86_64 at home.  I'll check it out this
evening.  I never use home/end or pgup/pgdown, and seldom use up/dow
left/right, but I thought I had used the arrows and that they
worked.

I tried the /bin/vi and /usr/bin/vim that were part of my Fedora 14
installation in the GNOME Terminal and my own build of vim and gvim
in the Terminal and GUI, respectively.  They are all some version of
Vim 7.3.  The arrow keys, PgUp/PdDn and Home/End keys worked in all
cases.  I even started all versions using -u NONE to eliminate the
effects of /etc/vimrc and ~/.vimrc.

So those keys work fine with 64-bit Fedora 14 and Vim 7.3.  We just
need to find out why they're not working for you.

Regards,
Gary


I'm using openSUSE, which, like Fedora, is based on RedHat (but maybe not as closely), and these keys give me no problem. So, István:

- gvim or console Vim? And when you type :version what does it answer? — not the full answer: the first lines are enough, like these on my version of gvim:

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 10 2011 23:41:02)
Included patches: 1-280
Compiled by [email protected]
Huge version with GTK2-GNOME GUI.  Features included (+) or not (-):

To capture these into the clipboard, use
        :redir @+
        :version
        :redir END
then, after pasting, *remove* everything after "Features included(+) or not(-):", all stat stuff is not relevant in this case.

Or, if your Vim is compiled with -clipboard, use copy-paste from some X11 terminal (using the terminal's facilities).

- When you type :scriptnames does it list anything before your own vimrc? If it does, look inside those files; are they setting anything related to the keyboard?

- Do you sill have your pre-7.3 version of Vim? If you do, does _it_ list any scriptnames before your vimrc? And if different from those of Vim 7.3, do _they_ set anything related to the keyboard?

- If console Vim, then in which terminal? Here are a few examples:
  - non-X console (go there by Ctrl-Alt-F2, come back by Ctrl-Alt-F7)
  - KDE konsole
  - gnome-terminal
  - xterm
  - mlterm
Try it in as many of them as you can, the results can be very different.

- In Insert mode, is anything inserted into your buffer when you type Ctrl-V followed by one of the problematic keys? (Repeat for each of them: Ctrl-V Home, look, Ctrl-V End, look, Ctrl-V PgUp, look, etc.). Before you do this, make sure you ":set showcmd", so that if after <Ctrl-V> <something> Vim hasn't got the <something> you'll see a ^V hanging near the bottom-right corner of your screen.


Best regards,
Tony.
--
Doctors take two aspirin and do it in the morning.

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