Distinguish recursive vs non-recursive mappings in Vim mode
Review Request #109962 - Created April 11, 2013 and submitted
|Simon St James|
A fix for https://bugs.kde.org/show_bug.cgi?id=314415. Introduce a new "Recursive?" checkbox column in the "mappings" section of the Vim Input configuration page, and generally distinguish between recursive and non-recursive mappings. Rather more "sprawling" that I would have liked, but a lot of this comes from adding the new "recursion" parameter to all the "addMapping" convenience functions.
A few more automated tests added; some manual testing.
I'm not sure if it's feasible, but could you implement a sanity check? Consider the following: map a to j (recursive); map j to a (recursive). This currently will loop forever, and Kate must be killed to get a responsive system again.