Well how about that! I had no idea that was why it was not working! I rarely use gvim, it takes me too far from the shell, I'm using vim in the terminal. Thanks!
On Nov 11, 9:44 pm, Gary Johnson <[EMAIL PROTECTED]> wrote: > On 2008-11-11, Kevin <[EMAIL PROTECTED]> wrote: > > > I have a mapping: > > > " set vim to give me page down on spacebar > > nmap <Space> <C-F> > > > Now, how do I get Shift-space to give me <C-B> ? I've tried a whole > > bunch of them, and they dont seem to work... > > Are you using vim or gvim? > > In gvim running on a Red Hat Linux system, I can enter insert mode, > type Ctrl-K, then hold the Shift key while hitting the space bar and > see this > > <S-Space> > > I can then execute this mapping, > > :namp <S-Space> <C-B> > > and it works just fine. > > In vim running in an xterm, however, the Ctrl-K Shift-Space sequence > shows nothing. Further, while in insert mode, typing Ctrl-V > followed by a space with the Shift key held down just inserts a > space. This demonstrates that xterm doesn't produce a special > character sequence for the Shift-Space combination, so there's no > way to use that key combination for a map or anything else. > > HTH, > Gary --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
