2009/7/23 Birdie Edwards: > > Thank you for your reply Björn. > > Thinking about it, I believe that I have certainly made one mistake. > I don't think that I should be including the line: > >> macm Window.Toggle\ Full\ Screen\ Mode key=<nop> > > because, in fact, I *want* to use <D-F> to enter Full Screen Mode. > It's just that I *also* want to map F5 to <D-F>. > > Here is what I have tried: > > macm Window.Toggle\ Full\ Screen\ Mode key=<D-F> > > map <F5> <D-F> > > but it does not work. Pressing F5 in Normal Mode does *not* enter > Full Screen Mode. > > In addition, pressing Shift-Command F sometimes enters Full Screen > Mode, and sometimes doesn't. Which is strange.
Indeed, not sure why this would happen. > To sum up, all I am trying to do is simplify entering Full Screen Mode > by mapping it to a single keystroke, instead of a three-stroke. How about: map <F5> :set invfu<CR> map! <F5> :set invfu<CR> This is what the menu currently does (see ":h 'fu" for more info on fullscreen). The problem with your approach is that menu bindings (the ones set up with :macmenu) are sort of "outside" the normal Vim key mappings system (as far as Vim is concerned Cmd-Shift-f is not bound to anything). You can see what the menu bindings do by looking at the system gvimrc file ":fin $VIM/gvimrc"...just don't edit that file or your changes will be lost when you update MacVim. Björn --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
