guillermooo / Vintageous

Vi/Vim emulation for Sublime Text 3
http://guillermooo.bitbucket.org/Vintageous/
Other
1.64k stars 115 forks source link

basic macro registers implementation #158

Closed guillermooo closed 11 years ago

guillermooo commented 11 years ago

Adding macro registers looks like a new kind of problem.

A command like qa would start the macro recorder and then store the resulting series of commands into the macro register a.

The problem is that qa causes VintageState to evaluate itself and reset itself, thus the stored a name gets lost. A simple solution would consist in adding additional state checks only for macros.