Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Folding plugin for Gedit
Python
branch: master

This branch is 12 commits ahead of mikecrittenden:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Makefile
README.md
folding.plugin
folding.py

README.md

Code Folding for Gedit

A simple plugin that adds keyboard-based code folding to Gedit.

Installation

Unix/Linux

  • Move folding.plugin and folding.py into ~/.local/share/gedit/plugins
  • In Gedit, go to Edit → Preferences → Plugins to enable the plugin.

Windows

Note: As stated in IRC conversation at #gedit public channel, gedit3 is not ready for Windows (yet). Eventually this installation section will be updated when gedit3 supports Windows.

Usage

  • Alt-Z on selected lines will collapse them
  • Alt-Z on an indented block's top line will collapse that block
  • Alt-Z on a folded block will expand it
  • Alt-X will collapse all blocks on the deepest indention column (you can keep pressing Alt-X until all indention levels are folded)
  • Shift-Alt-X will expand all the collapsed blocks
Something went wrong with that request. Please try again.