onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.35k stars 299 forks source link

There's no way to remap command-t on a Mac #1957

Open dlee opened 6 years ago

dlee commented 6 years ago

Right now, pressing command-t on a Mac launches the "Type to search symbol..." dialog, and there's no way to override that. I want command-t to create a new tab instead.

Things I've tried:

oni-bot[bot] commented 6 years ago

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

CrossR commented 6 years ago

Hi!

Think this could be to do with the perhaps confusing names we inherit from the library we use to resolve keys....

That said, I think you should be able to do the following to get the mappings you want if you replace <m-t> with <c-t>.

c binds to control/command and m (meta) binds to the Windows keys and equivalent across other OSs.