dbatten
dbatten

Reputation: 437

Trying to open a file in netrw sometimes opens the wrong file

I'm using netrw in my NeoVim setup to navigate files. I typically open netrw with :Explore which I've mapped to <c-e> and open files / expand directories by pressing enter with my cursor on the target. About 50% of the time however, pressing enter will instead open whatever file is at the bottom of the netrw window, very frustrating. Has anyone else experienced this? The only mapping I have for <cr> while a netrw buffer is active is:

n  <CR>         @<Plug>NetrwLocalBrowseCheck

which I think is standard netrw stuff?

Upvotes: 1

Views: 219

Answers (0)

Related Questions