emacs-like indentation in kate

From: Marc Dansereau (bouloumag_at_hotmail.com)
Date: 08/17/05

  • Next message: Ian Batterbee: "How to open() a USB keyboard device and not have it send to the console"
    Date: Tue, 16 Aug 2005 20:25:10 -0400
    
    

    Hi, all

    I wonder if the Kate editor can be configured (and how ...) to indent a line
    directly at the right place when the tab key is pressed (like emacs and vim
    does).

    for example, when pressing tab key while the cursor is on the lines of

                            if (a == b) 
              call_function();

    will change the code to

    if (a == b)
       call_function();

    I am using kde 3.4.0 on kubuntu.

    Thank you for your help


  • Next message: Ian Batterbee: "How to open() a USB keyboard device and not have it send to the console"

    Relevant Pages

    • Re: pep 8 constants
      ... Python code, I've tripled the vocal load of perhaps one percent of your ... working hand, so I don't actually need a voice recognition, but I ... hit the tab key, it doesn't automatically indent to the right location. ...
      (comp.lang.python)
    • Re: pep 8 constants
      ... hit the tab key, it doesn't automatically indent to the right location. ... If you set kwrite to use "Python style" indent mode, ... Don't change the convention, give us the tools so we can comply with ...
      (comp.lang.python)
    • tab and numbered lists - easy question i hope.
      ... I used to be able to hit the tab key after creating a numbered list to ... increase the indent and change the numbering to whatever was next - letters ... For some reason the tab key does not perform that same function anymore and ...
      (microsoft.public.word.numbering)
    • Re: IDLE question
      ... Whenever I try to indent a region of code, ... select it and hit the tab key, as I usually do in most editors, like ... Tab in other editors, it just won't work, and I can't find any ... Anybody know if this operation is possible at all with IDLE, ...
      (comp.lang.python)
    • Re: Why does my tab key not work for bullet points?
      ... Microsoft Word MVP ... Then if I want to indent and get a different type of bullet point at the ... When I press the tab key to make it do this, it will only tab the text ...
      (microsoft.public.word.docmanagement)

  • Quantcast