Buffer desync on undo / redo.
See original GitHub issueI have a critical issue with vscode-neovim.
Sometimes when I hit u to undo changes the buffer gets totally out of sync with what I have in VSCode. When this state is reached, every keystroke becomes dangerous. The more I enter the more I destroy my work. If I hit ctrl+r in order to redo changes the buffer gets further destroyed. I couldn’t find a way to recover my work from this state. The best I could do was closing the buffer, reopen it (this gets the buffer back in sync) and repair the mess. I have lost some work that way multiple times.
This happens on both of my workstations and yet I can’t tell why it happens. I haven’t noticed a pattern or anything. It hits me out of the blue. I get this issue ~ once a day.
This is my init.vscode.vim:
" Copy & Paste / Clipboard setting
" --------------------------------
" set clipboard^=unnamed,unnamedplus
set clipboard=unnamedplus
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Buffer desync on undo / redo. · Issue #269 · vscode-neovim ...
I have a critical issue with vscode-neovim. Sometimes when I hit u to undo changes the buffer gets totally out of sync with...
Read more >Undo and Redo - Callbacks - Imperavi
Triggered when the buffer module method redo is called. $R('#content', { callbacks: { redo: function(html, offset) { // ... } } }); Listen...
Read more >Lecture 20 Part 4 STEAL / NO FORCE, UNDO and REDO
Buffer Management Plays a key Role. •. Scroll for details ... Lecture 20 Part 4 STEAL / NO FORCE, UNDO and REDO. 11K...
Read more >Duplicate Buffer~ without noise (for looper undo/redo)
So Im trying to make an undo / redo function for my loopstation. My approach is to use a polybuffer and save a...
Read more >undo/redo buffer bug - how to increase size/depth
I had a situation today where I was typing in, like 3-4 lines worth and Hit Ctrl-Z expecting to undo the last word...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I just encountered this. It started after I was doing a macro, actually, this was my first experience with the plugin basically. Probably something in my init.vim
This issue happens with me in v0.0.89, my config is minimal and seems unlikely to be causing the problem (a few
nnoremapfor navigating between splits,set ignorecaseandset smartcase)I’m not sure what information would be helpful but I’m willing to run experiments or give you debug info you think is important