Summary: | Problems with home/end keys in vim when used inside screen | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | uriahheep <uriahheep> |
Component: | Current packages | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED NEEDINFO | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
uriahheep
2005-10-29 01:46:54 UTC
hmm, perhaps i should correct a statement i made:
>> note that this problem has only been experienced
>> with american keyboards, and the keycodes to resolve
>> the issue are possibly specific only to these keyboards.
more like that is the only type of keyboard that i have had the chance of
trying... ;)
What's the underlying terminal? This sounds like a terminfo issue, not something that should be solved by maps... This problem has persisted in both aterm and xterm, and I don't doubt that it would manifest itself in other terminals. Additionally, I've had this problem with all of my Gentoo installs, on all of my computers, but only inside X and a terminal. When in command line, I have no problem. This quick fix is all that I've been able to use to repair vim functionality, and it doesn't seem to affect any other functionality.. I believe that the maps will not affect any setups with other types of keyboards if they are in the default vimrc, since I see that maps to these same keycodes have been applied unconditionally for the same purpose in /etc/inputrc (while being ineffective in vim+screen in terminal windows) without hurting anyone not having this problem's install. This leads to my belief that this may be a little reported, yet widespread problem, one which could be resolved with these simple, harmless maps. Anyway, I'm going to school now... Thanks Wrong scope for the fix, unless it somehow turns out that this is vim-specific. What are t_K1, t_K4, t_kh and t_@7 in vim? I'm assuming it's not a Vim issue, until the questions in comment #4 are answered. |