EricEngineered / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

End and Home keys not usage after :set ttymouse=urxvt #316

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use urxvt terminal
2. open vim and :set ttymouse=urxvt
3. type Home or End button

What is the expected output? What do you see instead?
Cursor should go at the end of line or beginning of line

What version of the product are you using? On what operating system?
2:7.3.429-2ubuntu2.1
on ubuntu 12.04

Please provide any additional information below.
* If I :set ttymouse=xterm2 the Home and End buttons work fine but I have the 
mouse issue after the 223rd column.
* It seems there is only Home and End button not working with ttymouse=urxvt
* "End" binding on ttymouse=xterm2:"[8~"
* "End" binding on ttymouse=urxvt :"^[[8~"
* Workaround:
map ^[[8~ <End>                                                                 

map ^[[7~ <Home>                                                                

Original issue reported on code.google.com by mich...@gmail.com on 14 Jan 2015 at 4:51