Recording macros in vscode vim. intellisense/emmet autocomplete texts in insert mode and places cursor at the right the place. When using the macro the autocomplete works but the cursor is not placed at the same place as during the recording.
Expected Behaviour
The macros that I record should have the exact same behaviour when I'm recording as when I'm running them.
How to reproduce
Create an empty html file
Write a word
Start recording a macro
copy the word | yw
insert in a new line | o
create h1 tags with emmet | h1 tab
the cursor is placed in the middle of the tags
Exit insert mode | Esc
paste the word | p
the word is correctly placed between the tags like this : <h1>word</h1>
stop recorgin the macro | q
run the macro
the word in incorrectly placed after the tags like this: <h1></h1>word
Proposed Solution
It seems the Visual Studio vim extension had a similar issue with macros and intellisense. Their proposed solution was to add a setting to disable all form of autocomplete/formating during macro recording.
Recording macros in vscode vim. intellisense/emmet autocomplete texts in insert mode and places cursor at the right the place. When using the macro the autocomplete works but the cursor is not placed at the same place as during the recording.
Expected Behaviour
The macros that I record should have the exact same behaviour when I'm recording as when I'm running them.
How to reproduce
<h1>word</h1>
<h1></h1>word
Proposed Solution
It seems the Visual Studio vim extension had a similar issue with macros and intellisense. Their proposed solution was to add a setting to disable all form of autocomplete/formating during macro recording.
Environement