Skip to content
Integration of Zen Coding (a set of plugins for high-speed HTML and CSS coding) into a Gedit plugin
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
zencoding used 2to3 script and fixed some little thing to turn zen-coding into … Sep 15, 2014
README.md README tweaks May 10, 2010
UNLICENSE.md Fix link in license Sep 6, 2010
zencoding.gedit-plugin the zencoding.gedit-plugin also needs some changes Sep 15, 2014

README.md

Zen Coding for Gedit

Zen Coding is a plugin for high-speed HTML, XML, XSL (or any other structured code format) coding and editing. The core of this plugin is a powerful abbreviation engine which allows you to expand expressions - similar to CSS selectors - into HTML code.

This plugin integrates Zen Coding into Gedit.

Features

Zen Coding is a swiss army knife for common CSS and XHTML tasks. Read this for details. Note that almost every action highly depends on current caret position inside text editor.

With this plugin, you can:

  • Expand abbreviation with Ctrl+E
  • Expand abbreviation as you type with Ctrl+Alt+E
  • Wrap with abbreviation with Ctrl+Shift+E
  • Balance tag inward or outward with Ctrl+Alt+I or Ctrl+Alt+O
  • Merge lines with Ctrl+Alt+M
  • Go to previous or next edit point with Alt+Left and Alt+Right
  • Remove tag with Ctrl+Alt+R
  • Split or join tags with Ctrl+Alt+J
  • Toggle comment with Ctrl+Alt+C

Shortcuts can be changed in zencoding/plugin.py to fit your needs.

Installation

  1. Download zip or tar source and unpack it.
  2. Move zencoding.gedit-plugin and the zencoding folder into ~/.gnome2/gedit/plugins/
  3. In Gedit, go to Edit → Preferences → Plugins to enable the plugin.
  4. Try it out using the shortcut keys listed above.

Credits

You can’t perform that action at this time.