Hi there,

I am a vim user and I am loving to press <C-H> instead of 'Backspace' to
delete one character forward, since pressing <C-H> does not require your
right hand leaving the position.  Although this <C-H> magic works in most
terminal application and gvim, however, for other GUI applications under X,
<C-H> is explained in different ways, for example, firefox has <C-H> for
"History window".

I just wonder how can I map <C-H> to Backspace under X by using xmodmap?  I
read some xmodmap documents, and tried the following statements in my
~/.Xmodmap, but it does not work:

*keysym Control_L = Control_L Mode_switch
keycode 43 = h H Backspace
*
I also tried

*keysym Control_L = Mode_switch
keycode 43 = h H Backspace*

This time <C-H> works as 'Backspace' in my X desktop, but I can't use left
control key as 'control' any more, and that definitely is not what I want.
The X keyboard setting document seems to be too complicated to me, is there
anybody knows whether the mapping I want is possible?

Thank you very much.

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

Reply via email to