Bee wrote: > > In my vimrc I mapped space to pagedown, like a web browser, because > this is a Mac laptop without dedicated pageup/pagedown keys. > > I would also like shift+space to do a pageup but have been unable > to get the nmap to work. Any idea how to do it? > > As a workaround I mapped tab to pageup, and that is not bad. > > " space as pagedown like web browser > :nmap <space> <pagedown> > :nmap <tab> <pageup> >
Bill, Vim is designed to be usable with just a basic keyboard. Try using CTRL-F (for page down) and CTRL-B (for page up) for navigating in Vim. These are the standard keys and will save you having to customise your set up. Of course, that doesn't mean you can't map Space if you want to, just that you don't *have* to. Regards, Andy -- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
