[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] key mapping (** resolved **)

From: Marlin Unruh
Subject: Re: [avr-gcc-list] key mapping (** resolved **)
Date: Mon, 2 Dec 2002 23:05:10 -0700
User-agent: KMail/1.4.3

I got it working and really think I'll like it. I do so far.  Using Vim I 
don't need Caps_Lock as often as Escape. I'm new at it so I can get used to 
it this way.

What I ended up doing is using xmodmap -pke .mykeyfile to dump the current key 
data into .mykeyfile. I manually edited the file w/ Vim :).  Then like you 
said, installed the new key file w/ xmodmap. I put the call in the .profile 
file, but is that bad practice? I wasn't sure were to stash it. It works 
okay, but don't know if it's proper.

Thanks for the pointers and help, I hope I can help someone eventually.  :)

On Monday 02 December 2002 21:42, you wrote:
> Hi Marlin!
> On Mon, 02 Dec 2002, Marlin Unruh wrote:
> > I have switched to Linux and am using Vim as my editor for programming.
> > Could someone give me a little help on key mapping. I want to swap the
> > cap locks and escape keys to make it easier to switch modes in Vim. I
> > think it has
> This is a good idea.
> > something to do with xmodmap but am not sure of the usage. Don't be
> > afraid of getting to basic.  :)
> You are right. My way of doing this is:
> Write a ".xmodmap" file for your keyboard with "xkeycaps". Then exchange
> "Escape" with "Caps_Lock". After this you have to install the new keymap
> with "xmodmap ~/.xmodmap" (or the name you gave the ".xmodmap" file).
> This last step you have to do each time you start the X-Server and can
> be automated in your ~/.xinitrc or your ~/.xsession depending on the
> startup of your X-Session.
> Yours

avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]