jed-users mailing list

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

Re: global keybindings and startup file order


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]