Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vi keys #8

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

vi keys #8

rking opened this issue Aug 23, 2012 · 3 comments

Comments

@rking
Copy link

rking commented Aug 23, 2012

Cough 'em up!

@rking
Copy link
Author

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
Copy link
Author

rking commented Sep 30, 2012

rking@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.

@glittershark
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants