21 May 2010 17 Comments

Lucid Lynx and Gedit “Indent Lines” Plugin

My favourite text editor is gedit. I use gedit because it’s light and very powerful. Unfortunately by lucid upgrade, the indent feature has been removed. Maybe developers thought that tab was enough to indent lines but it is not. So, I want my “Indent Lines” plugin again. And if you want your indent feature back, here is the plugin:

64 bit:
http://yuix.org/wp-content/uploads/2010/05/indent_lines.zip

17 Responses to “Lucid Lynx and Gedit “Indent Lines” Plugin”

  1. tjombka 23 May 2010 at 03:46 #

    I’ve noticed the same problem. Thanks for the link.

  2. yasin 24 May 2010 at 01:10 #

    thank you, tabulation save lives.

  3. frann 25 May 2010 at 13:06 #

    I installed the plugin, but it wouldn’t select. So I went onto ubuntu forums and had a moan, like you do.

    Someone said “you just have to use tab”, so I tried selecting some text and hitting tab and it did what Control-T used to do, and shift-Tab does what control-shift-T used to do.

    This may come in handy for someone…

  4. w2davids 28 May 2010 at 12:04 #

    Hey there,
    How to install. I usually copy into
    ~.gnome2/gedit/plugins
    and re-start.

    Does the libiddent.so need to be copied to /lib, /usr/lib/ ???

  5. Serdar 28 May 2010 at 15:06 #

    Copying files into the ~/.gnome2/gedit/plugins/ is enough. But don’t forget to activate plugin and restart gedit.

  6. bubuzzz 12 June 2010 at 04:11 #

    Thank you very very much. Just upgrade to U 10.04 and been wondering where the heck is this wonderful plugin for a while :D

  7. Steven 15 June 2010 at 23:14 #

    This plugin was apparently removed because it is obsolete. You can now get the tab-in/out behaviour with Tab and Shift-Tab when multiple rows are selected.

  8. da4nik 28 June 2010 at 08:29 #

    Thanx Steven, very useful information !

  9. ExpHP 29 June 2010 at 23:43 #

    I find this plugin to be superior to the integrated Tab indenting because, as long as you have menu hotkey editing turned on in gconf, you can change the hotkeys.

    In other words, with this plugin, you can set the indent shortcuts to Alt+Right and Alt+Left (which is beautifully consistent with Alt+Up and Alt+Down “moving lines around”).

    Alas, when I try to turn on this plugin, it becomes grayed out and this gets printed in the console:

    ** (gedit:28640): WARNING **: indent: /home/mike/.gnome2/gedit/plugins/libindent.so: wrong ELF class: ELFCLASS64

    ** (gedit:28640): WARNING **: Could not load plugin module: Indent Lines

    ** (gedit:28640): WARNING **: Error loading plugin ‘Indent Lines’

    I tried Googling this and the only explanation I could find for this error is that I’m trying to use a 64-bit library on a 32-bit system.
    Any chance you have a 32 bit version of libindent.so? I miss my Alt+Left and Alt+Right shortcuts…

  10. ExpHP 29 June 2010 at 23:57 #

    Me again. This is one of those cases of “ask and ye shall find it by yourself.”

    Turns out the page that gave me the idea to customize Alt+Left and Alt+Right actually has a download link to the plugin, and that one works for 32-bit systems.

    Here’s the page.
    http://rbjl.net/22-rubybuntu-4-make-gedit-better-than-any-ide

  11. ralph leyga 21 October 2010 at 05:39 #

    Thanks for the link of plugin. I love the indenting feature of gedit :)

  12. web development service VA 27 May 2011 at 22:11 #

    My problem has also been solved thank you.

  13. Mike 22 June 2011 at 19:50 #

    Thanks you guys for the information on this issue!

  14. Creig Collins 2 August 2011 at 09:41 #

    Plugin is not working,anyways thanks for sharing.

  15. mbonnin 13 August 2011 at 20:04 #

    Works perfectly, thanks !

  16. clark 28 September 2011 at 19:58 #

    the link to 32bit download is broken

  17. clark 28 September 2011 at 20:03 #

    does this control recalculate indentation line by line (like emacs) or it just moves the whole highlighted block (like the tab button in gedit)?


Leave a Reply