You are not logged in.

#1 2010-05-20 23:50:01

aeosynth
Member
From: California
Registered: 2010-02-06
Posts: 115
Website

shift / control modifiers in ncurses

According to the ncurses faq:

How can I use shift- or control-modifiers?

The standard response is "curses doesn't do that".

There are workarounds. Some explanation is needed first.

Apparently I need to define extended descriptions to add to a terminfo description - how do I do that? I can't find any examples in the faq or google. I'm using rxvt-unicode, and all I want to do is bind shift-space to pageup in vim's normal mode.

Offline

#2 2010-05-21 01:00:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: shift / control modifiers in ncurses

Can't you map it in vim?

map <C-b> <PageUp>

works for me.

I hope you can get it to work w/ Shift-space.
http://vim.wikia.com/wiki/Avoid_the_esc … g_problems
http://vimdoc.sourceforge.net/htmldoc/i … l#i_CTRL-K

Last edited by karol (2010-05-21 01:27:27)

Offline

Board footer

Powered by FluxBB