Brandon Richardson
Brandon Richardson
Tested on neovim v0.7.2, unable to reproduce. Seems it's just a problem in Window/Cursor then (although the change I proposed in do.vim doesn't hurt, and it's well tested in my...
I use `zz` quite a bit too, and every once in a while I accidentally do `zz` in the fern window and it catches me off guard. @lambdalisue would you...
Ahh, @pbwn you can get `zz` by disabling the default mappings explicitly: ```vim let g:fern#disable_default_mappings = 1 ``` No fern changes needed :-)
> thanks, but then nothing works, ie i use a lot of the usual mappings such as l to open file. Ahh yeah, you'd have to redefine any mappings you...
@pbwn have you had a chance to try the snippet I posted above? If it works for you, we can wrap up this issue :-)
I think it's good to close now, given it's not a fern bug but rather some configuration tweaks on your side.
No problem. I might take a crack at it at some point, we'll see :-)
Something like this works :-) Will need some cleanup, but could serve as a good starting point! ```diff diff --git a/autoload/vital/_fern/App/WindowSelector.vim b/autoload/vital/_fern/App/WindowSelector.vim index 7e65ae4..26f3dad 100644 --- a/autoload/vital/_fern/App/WindowSelector.vim +++ b/autoload/vital/_fern/App/WindowSelector.vim @@...
Great idea, yeah. That makes much more sense than what I was thinking.
I would love to see this too. I use Vim as my primary editor and vim motions feel so natural to me, so I initially had a hard time playing...