You can enter "cat" and try different keys. If the key press does not result in anything, your terminal app probably intercepts it.
I do not think Command keys can be passed to a command-line application, in general. On 7 June 2016 at 07:35, a153 <[email protected]> wrote: > Hi everyone, > > In my ~/.vimrc file I have mapped NERDTree as follows: > > map <D-\> :NERDTreeToggle<CR> > > This allows me to toggle NERDTree using CMD + \ in the MacVim GUI but it > doesn't work when I run MacVim in the terminal (I use iTerm2). Why not? > > Any help would be highly appreciated. > > -- > -- > You received this message from the "vim_mac" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_mac" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Wu Yongwei URL: http://wyw.dcweb.cn/ -- -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_mac" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
