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

haskeline haskeline at projects.haskell.org
Sun May 20 20:46:53 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 judah):

 Thanks again for your very helpful diagnostics.  I think I've found the
 cause:

 https://github.com/henrikthuesen/zink/wiki/ghci
 http://www.muddygoat.org/articles/vim-in-tmux

 After pressing the escape key, tmux delays for a second or two before
 responding.  This problem pops up with vi/vim as well.

 You should be able to fix it by editing either `~/.tmux` or `~/.tmux.conf`
 and adding either
 {{{
 set -sg escape-time 0
 }}}
 Or
 {{{
 set-option -sg escape-time 0
 }}}

 The exact combination depends on your configuration, I think.

 Please let me know if those steps fix the problem for you.  If so, I'll
 add some documentation to the wiki about this.

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


More information about the Haskeline mailing list