godbout / kindaVim.docs

Ultimate Vim Mode for macOS
https://kindavim.app
613 stars 4 forks source link

Slack create new line O/o #211

Closed Josh-Piper closed 8 months ago

Josh-Piper commented 8 months ago

When I hit O or o when in the Slack messaging box it will send the message instead of replicating shift enter to create a new line.

Instead I would expect the O and o to act like it does in a normal text buffer.

godbout commented 8 months ago

change this Setting:

Screenshot 2023-11-28 at 12 34 55

Slack is Electron. most of the Electron apps implement AX support like shit (i think out of 250+ apps i've found only two doing a good job). which means kV can't use text calculations to do the Vim moves. which means kV needs to do key remapping. enter is supposed to create a new line on macOS. this is the standard. Slack overrides this. this is why this is happening in your case. change the Setting and O and o will create the new line.

Josh-Piper commented 8 months ago

Amazing, thanks

godbout commented 8 months ago

glad it helps!