A simple plugin that adds keyboard-based code folding to Gedit.
- Move
folding.gedit-pluginandfolding.pyinto~/.gnome2/gedit/plugins - In Gedit, go to Edit → Preferences → Plugins to enable the plugin.
Alt-Zon highlighted text will collapse itAlt-Zon an indented block's top line will collapse that blockAlt-Zon a folded block will expand itAlt-Xwill expand all the collapsed blocks