Search code examples
githubshortcutneovimgithub-copilot

Copilot Neovim keybinding behave wrong?


using copilot.vim plugin in neovim the <M+]>, <M+[> and <M+> (M stands for alt) doesn't work, the keybinding are used in insert mode and when i press alt+[ or alt+] which is the keybindings “‘ these two characters are typed, technically its the right behavior.

if so why is keybinding that? Didn't they realize this? I am using U.S. keyboard layout


Solution

  • I found out it's not actually Alt key; it's Meta which is not set to Alt in mac using iTerm2.

    I set left-Option to Meta key in Preferences > Profiles > Keys > General > Left Option key.