Re: Typing 'oun' in INSERT mode moves me to the next line.

2006-05-25 Thread Tim Chase

2) you've got some funky keyboard mapping at the console/GUI
level. This would evidence itself in other editors, so if
you pull up Nano or Emacs and rapidly type "oun" in the same
fashion as you do in Vim, you'd get other funky characters.
How to remedy this lies outside vim...you'd have to check
your keyboard configuration for your console or GUI/WM


For the moment it looks like option two, then again my
keyboard is has had so much caffeine spilt on it, it might be
in a slightly altered state of mind. Nonetheless, the problem
is not peculiar to vim, and thus not Vim's problem. Thanks for
the tip off...


Glad to help point you in the right direction.  You might try 
booting off a generic live-CD that would have fairly standard kbd 
mappings.  Pulling up a shell, you can then use


bash$ xev > ~/keylog_live.txt

when the window pops up, you can rapidly type your "oun", then 
close the window.  You should have a list of all events that 
fired.  If you mount your HDD and copy this file to a place you 
can find it on your machine, reboot, and then perform the same 
sort of action within your native configuration (into 
"keylog_native.txt"), you should be able to diff them ("diff 
keylog_live.txt keylog_native.txt") and see if your local 
configuration is doing anything funky.


You might also have some tool for checking/changing your keyboard 
mapping.  It could be that you're configured for some 
international mapping with dead-keys or at least things in places 
your keyboard doesn't have labeled. :)


Alternatively, if you've just got another kbd floating around the 
house (if, IIRC, you said you're running Gentoo--that's usually 
indicative of the type of person likely to have >1 kbd around the 
house... ;)   you can try swapping it out to see if it's hardware 
or software related.


Just a few more ideas,

-tim






Re: Typing 'oun' in INSERT mode moves me to the next line.

2006-05-25 Thread James Dominy

Tim Chase wrote:


Typing the sequence 'oun' really fast (i.e. touch typing
speed) when there already exists a line below the one the
cursor is currently on, in INSERT mode, moves the cursor down
one line between the 'u' and the 'n'.



In my general experience, this "doesn't happen" :)  There are a couple 
possible causes that occur to me:


1) you've got an insert-mode mapping.  To determine, issue

:imap

and check the results for something funky like a mapping for "oun".  
Alternatively, you can start a "naked vim" with


vim -u NONE

which will prevent it from loading any plugins.  If either of these 
finds the problem, you can use :scriptnames to determine where things 
may or may not have been loaded, and search them for where the mapping 
(or other prolematic configuration) was created/issued.


2) you've got some funky keyboard mapping at the console/GUI level.  
This would evidence itself in other editors, so if you pull up Nano or 
Emacs and rapidly type "oun" in the same fashion as you do in Vim, 
you'd get other funky characters.  How to remedy this lies outside 
vim...you'd have to check your keyboard configuration for your console 
or GUI/WM


3) you've got a wonked keyboard.  Highly unlikely, but a remoote 
possibility.  If the other ideas don't turn up a solution, you might 
want to pilfer a second keyboard and see if the problem persists.


Just a few ideas.

-tim


Hi,

For the moment it looks like option two, then again my keyboard is has 
had so

much caffeine spilt on it, it might be in a slightly altered state of mind.
Nonetheless, the problem is not peculiar to vim, and thus not Vim's problem.
Thanks for the tip off...

- James


Re: Typing 'oun' in INSERT mode moves me to the next line.

2006-05-24 Thread Tim Chase

Typing the sequence 'oun' really fast (i.e. touch typing
speed) when there already exists a line below the one the
cursor is currently on, in INSERT mode, moves the cursor down
one line between the 'u' and the 'n'.


In my general experience, this "doesn't happen" :)  There are a 
couple possible causes that occur to me:


1) you've got an insert-mode mapping.  To determine, issue

:imap

and check the results for something funky like a mapping for 
"oun".  Alternatively, you can start a "naked vim" with


vim -u NONE

which will prevent it from loading any plugins.  If either of 
these finds the problem, you can use :scriptnames to determine 
where things may or may not have been loaded, and search them for 
where the mapping (or other prolematic configuration) was 
created/issued.


2) you've got some funky keyboard mapping at the console/GUI 
level.  This would evidence itself in other editors, so if you 
pull up Nano or Emacs and rapidly type "oun" in the same fashion 
as you do in Vim, you'd get other funky characters.  How to 
remedy this lies outside vim...you'd have to check your keyboard 
configuration for your console or GUI/WM


3) you've got a wonked keyboard.  Highly unlikely, but a 
remoote possibility.  If the other ideas don't turn up a 
solution, you might want to pilfer a second keyboard and see if 
the problem persists.


Just a few ideas.

-tim







Typing 'oun' in INSERT mode moves me to the next line.

2006-05-24 Thread James Dominy

Hi,

I've been experiencing a weird issue with VIM ...

Typing the sequence 'oun' really fast (i.e. touch typing speed) when there
already exists a line below the one the cursor is currently on, in 
INSERT mode,

moves the cursor down one line between the 'u' and the 'n'.

I'm using version 7.0-r2 (gentoo latest release), and do not have any 
other 'plugins' apart from the gentoo stuff.


Also, I can't seem to find any info on the web page about reporting 
bugs, assuming this is in fact bug.


Cheers
James