yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

Command key mappings on Mac #182

Open skanev opened 3 years ago

skanev commented 3 years ago

Hey.

It will be really good if FVim can support mappings with the Cmd key on mac. I believe one of two things would work:

Apologies if there already is a way to do it, and I just couldn't find it.

skanev commented 3 years ago

Update: I initially thought FVim does not support command mappings, because no mapping I tried work. Turns out - they work, but only if I enter them twice. That is, if I do:

map <D-f> ifoo

and then hit <D-f> once, nothing happens, but then if I hit it again, FVim goes into insert mode and adds foo. I'm at fvim: 0.2.348,81a158c, which I got from homebrew.

Any advice?

yatli commented 3 years ago

Hey @skanev !

Sounds like a similar problem to https://github.com/yatli/fvim/issues/167

I've submitted a patch upstream, but if cmd key also suffers from this, I need to update that bit.

Thanks!