- Subject: Re: global keybindings and startup file order
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Mon, 23 Feb 2004 12:26:04 -0500
Brian Blais <bblais@xxxxxxxxxx> wrote:
>or with the global_mode_hook, like:
>
>
>define global_mode_hook (hook_name)
>{
> local_setkey("edit_journal","^Xj");
>}
>
>The problem I have is, even defining things in this way, in the .jedrc, if I
>run jed with no arguments (and I've turned off the ask for file), the binding
>doesn't work until I actually load a file. I figured that my .jedrc is either
>not being executed until I open a file, or something is being executed on
>startup which overrides my .jedrc. Perhaps I am doing something wrong
>altogether.
global_mode_hook is the correct way to do it. What version of jed are
you using? Also, running jed via
jed -batch
will show what files it loads.
Thanks,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]