Re: [dev] [sandy] [PATCH] VIM key bindings.

From: Markus Teich <>
Date: Thu, 10 Jul 2014 14:24:37 +0200


Silvan Jegen wrote:
> Actually, I do not think you will need a "real" recursive parser. It should be
> enough to use a finite state machine since you won't have any recursively
> nested key bindings.

Yes, that should suffice.

> I am not completely sure how to implement this but it sounds like a very
> interesting problem. The states transition should probably look something like
> this

I would use an array of function pointers to implement a state machine (like the
event handling in dwm etc.), but for this purpose it might be a little bit too

Received on Thu Jul 10 2014 - 14:24:37 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 10 2014 - 14:24:16 CEST