Code Folding for Gedit
A simple plugin that adds keyboard-based code folding to Gedit.
Installation
- Move
folding.gedit-plugin
andfolding.py
into~/.gnome2/gedit/plugins
- In Gedit, go to Edit โ Preferences โ Plugins to enable the plugin.
Usage
Alt-Z
on highlighted text will collapse itAlt-Z
on an indented block's top line will collapse that blockAlt-Z
on a folded block will expand itAlt-X
will expand all the collapsed blocks