question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BufferManager: nvim_win_set_cursor: Cursor position outside buffer

See original GitHub issue

Using 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:open
  • Created 3 years ago
  • Reactions:15
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
Ahmad-Zakloutacommented, Feb 25, 2022

I am having the same issue all the time when I move between tabs.

2reactions
braxtons12commented, Jul 14, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found