Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

vi keys #8

Open
rking opened this Issue Aug 23, 2012 · 3 comments

Comments

Projects
None yet
2 participants

rking commented Aug 23, 2012

Cough 'em up!

rking commented Sep 30, 2012

The core problem is here: https://github.com/Mon-Ouie/coolline/blob/master/lib/coolline/coolline.rb#L436

Since coolline accumulates anything following an Esc, you can't handle an Esc by itself.

Traditionally, programs that do try to map Alt+something (which becomes Esc + something) will implement a timeout of 100ms (or so) to distinguish between the two cases. I don't see how a timeout would be implemented in Coolline without breaking backwards compatibility.

Perhaps the answer is a "don't accumulate" option for the behavior. That would probably work for me. What do you think, Mon-Ouïe?

rking commented Sep 30, 2012

rking/coolline@c639c11 # A bit of progress.

Still completely missing:

  • everything that requires a sub-mode (arrow keys, d/c/f/F/t/T, etc)
  • all register-related stuff: " p P y and Y (Plus X x D s S C r)
  • Undo/redo/repeat
  • marks: m ' `

Plus it has a couple of handfuls of additional problems.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment