On 01/11/08 11:19, peter holm wrote:
> I have a few mappings to the shift keys (to mimike the BorlandC Editor)
>
> Well - i don't get it to work in terminal.
>
> Any idea?
>
> /Peter Holm

Which shift keys? On which OS? On which terminal or terminal emulator?

"Borland C" makes me believe you're on Windows, but in the Windows 
console (the "dos box" as used by cmd.exe) there should be no problem. 
But naming "terminal" with no article seems to point to MacOsX, where 
the most common terminal emulator is called Terminal.app. Or are you 
using "terminal" as a generic name for any kind of text console 
including the Linux text console, the konsole application which is part 
of KDE, the gnome-terminal which is of course part of Gnome, the xterm 
console which is a generic terminal emulator for X11 systems, etc.? 
However, all these text consoles have different properties, their $TERM 
or 'term' values are different, etc.

If you are trying to map the Shift key without another key to be hit 
together with it, or if you are trying to distinguish between left-shift 
and right-shift, Vim can't do it.

Shift-F1 to Shift-F12 ought to work, but I notice that here in konsole 
Shift-F12 isn't seen by Vim. The other ones are though. In the Linux 
console however, my Vim sees Shift-F1 to Shift-F8 but doesn't know what 
they are; Shift-F9 to Shift-F12 it just doesn't see.

Shift-Up etc. may or may not work depending on whether the 
termcap/terminfo entries Vim is using match what your keyboard interface 
is sending.

In general, it's better to give enough specific details for people to 
understand exactly what you're trying to do and what happens or doesn't 
happen.

Best regards,
Tony.
-- 
The cry has been that when war is declared, all opposition should
therefore be hushed.  A sentiment more unworthy of a free country could
hardly be propagated.  If the doctrine be admitted, rulers have only to
declare war and they are screened at once from scrutiny ...  In war,
then, as in peace, assert the freedom of speech and of the press.
Cling to this as the bulwark of all our rights and privileges.
                -- William Ellery Channing

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to