jed-users mailing list

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

How to set tabs etc


I've been using jed lately.  I like it.  Lots of power and easy to
use.  It helps me get my job done quickly and easily.

But, there are a couple of things I have not been able to figure
out.

1. I can't bind some (special) keys.  For example, I have not been
    able to bind a function to ctrl-home.  So,

        require("keydefs");

        setkey("bob", Key_Ins);
        setkey("eob", Key_Del);

    both work, but

        setkey("bob", Key_Ctrl_Home);
        setkey("eob", Key_Ctrl_End);

    do not.
    
    I also tried:
    
        setkey("bob", "^@w");
        setkey("bob", "\xE0w");
        setkey("bob", "\e[H");
    
    which I found these key codes in keycodes.sl and keydefs.sl
    and by doing "jed -l keycode -f keycode". But, they did not
    work either.  Suggestions?  Or, is this a limitation?

2. I'm not able to set tab handling.  If I want to use hard tabs
    (0x09) and I want the tab width to be 4, then I set

        USE_TABS=1;
        TAB=4;

    But, that does not seem to have an effect.  What else do I
    need to do?  I guess I'm asking: What are the rules?  Am I
    also supposed to set Tab_Always_Inserts_Tab?

    Likewise, how do I force jed to *not* use hard tabs and to use
    spaces instead?
    
    Or, should I select a mode that already does this?  In which
    case I have to ask, what mode is that?

Thanks for help.

  - Dave

-- 
Dave Kuhlman
dkuhlman@xxxxxxxx
http://www.rexx.com/~dkuhlman

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


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