rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Mappings that use <plug> do not work #313

Open mortonfox opened 7 years ago

mortonfox commented 7 years ago

I use the NERDTreeTabsToggle plugin and I map it to F7.

The following mapping, however, doesn't seem to do anything in neovim-dot-app:

nmap <silent> <F7> <plug>NERDTreeTabsToggle<CR>

If I change it to use the command form of NERDTreeTabsToggle, it works as expected:

nmap <silent> <F7> :NERDTreeTabsToggle<CR>

If I try the \ form of the mapping in console nvim, it does work. So it appears that neovim-dot-app doesn't send \ to nvim.

Of course, it is not an issue for NERDTreeTabsToggle since this plugin provides both command and \ forms for mapping. But it could be a problem for other plugins.