Tools for fast XHTML and CSS coding for Gedit
Python Shell
Pull request Compare This branch is 2 commits ahead, 37 commits behind mikecrittenden:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
zencoding
README.md
UNLICENSE.md
install.sh
zencoding.gedit-plugin
zencoding.png

README.md

Zen Coding for Gedit

A new way of writing HTML and CSS code for Gedit

Information

Zen Coding is an editor 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 fully integrates Zen Coding into Gedit.

Features

Zen Coding isn't only a decent abbreviations expander but also a set of handy tools for common XHTML tasks. Read this page thoroughly 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 with abbreviation 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
  • Update tag image size with Ctrl+Alt+S
  • Remove tag with Ctrl+Alt+R
  • Split or join tags with Ctrl+Alt+J
  • Toggle comment with Ctrl+Alt+C
  • Create your own abbreviations and snippets.

Shortcuts can be changed in ~/.gnome2/gedit/plugins/zencoding/plugin.py to fit your needs.

Installation

  1. Download zip or tar source and unpack it.
  2. Run ./install.sh
  3. In order to use "Update tag image size", install imagemagick
  4. In Gedit, go to Edit -> Preferences -> Plugins to find and enable the plugin.
  5. Try it out!

Credits