[haskeline] #107: Vi mode: 'k' key behave oddly: command mode -> insert mode

haskeline haskeline at projects.haskell.org
Sun May 20 19:26:33 BST 2012


#107: Vi mode: 'k' key behave oddly: command mode -> insert mode
-----------------------------+----------------------------------------------
Reporter:  guest             |        Owner:       
    Type:  defect            |       Status:  new  
Priority:  major             |    Milestone:  0.6.2
 Version:  0.6               |   Resolution:       
Keywords:  Vi k historyBack  |  
-----------------------------+----------------------------------------------

Comment(by rlpowell):

 Under tmux where things are broken:

 1.  Arrow keys work just fine, it's VI command mode stuff that's broken.

 2.  It beeps at me, no cursor change.

 3.  Works.

 In addition, here's what happens when I type a few lines of text, arrow up
 a couple of lines, move to the middle of the line, (so that movement in
 all directions is possible), hit escape, and hit various keys:

 kkk: First time it worked, which has happened before but is not
 repeateable.  On retry, first k did nothing, second and third inserted.

 jjj: First j did nothing, second and third inserted.

 hhh: First time it worked.  Second time, first h causes screen beep,
 second and third inserted.

 lll: First l causes screen beep, second and third inserted.

 Oh, and now I can't get "dd" to work; first causes beep, second inserts.

 It's all *VERY* odd.

 ~/.haskeline:

 rlpowell at vrici> cat ~/.haskeline
 editMode: Vi
 historyDuplicates: IgnoreConsecutive

 -Robin

-- 
Ticket URL: <http://trac.haskell.org/haskeline/ticket/107#comment:5>
haskeline <http://example.org/>
My example project


More information about the Haskeline mailing list