Closed Melandel closed 3 years ago
is it normal at all that
BufEnter
doesn't trigger in WSL2?
it's not normal. could be a bug in vim. are you using a recent version of vim?
if it's still an issue, see if there is any difference between the buffer names (file paths). and then we can narrow it down.
Hello,
I am in the process of transitioning from gVim to WSL2 and noticed something.
On gVim (windows 10),
BufEnter
triggers whenever I usedirvish#open("edit", 0)
However, on WSL2 (Ubuntu LTS 20.04),BufEnter
just doesn't trigger.In my previous config, I have this line:
which allows me to control lcd the way I want: my lcd is always in sync with the dirvish buffer I'm in when I navigate through
dirvish#open()
What would be the config I need to have in order to have this behavior on WSL2, and is it normal at all that
BufEnter
doesn't trigger in WSL2?