jed-users mailing list

[2012 Date Index] [2012 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] .jedrc woes


Mike McClain <mike.junk@xxxxxxxxxxx> wrote:
>     I've this line in .jedrc:
> setkey("yp_bkill_word",         "\e^H");        %   ^BS
[...]
>     None of my configuration commands/assignments  are inside 
> the 'if (BATCH == 0)' clause and the only things that are that
> I've changed are:
> () = evalfile ("cua");            % CUA-like key bindings

Where is your setkey statement located with respect to the
evalfile("cua") line?  It must be located after the evalfile line.

The recommended procedure for adding new keybinding is to put those in
a keybindings_hook function.  In your case, you would add the
following to your .jedrc file:

  define keybindings_hook (name)
  {
     if (name == "cua")
       {
          setkey ("\e^H", "yp_bkill_word");
	  return;
       }
  }

I hope this helps.
Thanks,
--John
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2012 date index] [2012 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]