BufferManager: nvim_win_set_cursor: Cursor position outside buffer
See original GitHub issueUsing the latest 0.0.73 I got this error when I came back to an unsaved file in normal mode. The cursor was frozen, then after moving around some other files and returning then it worked again.
2021-01-01T20:38:46.607Z BufferManager: nvim_win_set_cursor: Cursor position outside buffer
Not sure how to reproduce, but I thought I would post it as an issue in case anyone else got it.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:15
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Vim plugin: 'Cursor position outside buffer' when old ... - GitHub
Expected behavior: This is up for debate. One interpretation would be: strip the trailing newlines and bring the cursor to the new last...
Read more >vim.lsp.buf.defination() error, something weird : r/neovim - Reddit
'Cursor position outside buffer?? What does it mean? i keep my cursor right over the symbol. It was working some days ago. Though...
Read more >How to make vim restore last cursor position for CURRENT ...
When I force vim to explicitly save cursor position to " mark with command m" , this information is lost on exit. Have...
Read more >Gtk.TextBuffer:cursor-position
The position of the insert mark. This is an offset from the beginning of the buffer. It is useful for getting notified when...
Read more >neovim - How can I get the current cursor position in Lua?
fn or the like) to get the exact last known cursor position - both row and column - for an arbitrary buffer in...
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 am having the same issue all the time when I move between tabs.
I also get this happening, but I haven’t been able to reduce this to a reliably reproducible situation, as it seems kind of random.
It seems that most of the time this happens when changing focus (with a mouse click) from an open editor to another one or the explorer, etc. is what triggers this, but it’s inconsistent. Sometimes I can go 4 hours without it ever happening, sometimes it happens every 20 minutes. I’ve also had it happen when opening vscode and trying to immediately type in one of the restored/reopened editors from the last session.
I’m currently using version 0.0.82 and have experienced it on both Windows 10 and Ubuntu 20.10 and 21.04.