carlhuda / janus

Vim distribution
7.88k stars 814 forks source link

macros broken #696

Open mikeabiezzi opened 7 years ago

mikeabiezzi commented 7 years ago

The following Macro does not work properly in the current version of Janus:

I test this in VIM with a brand new Mac user (Sierra) before installing Janus, and it worked fine. After installing Janus, it no longer worked.

text to execute macro on

some.thing = foo
some.thing = foo

macro df.iit('^[f i')^[ld$j^

Executing the macro from the beginning of the first line should change some.thing = foo to it('thing') and then place the cursor at the beginning of the second line.

Instead, it produces the following and highlights all text in visual mode

thing = foo
some.thing = foo

I have no idea how to debug this. Would be happy to help with some guidance. Let me know if you need more information.