Next: Metadata collections, Previous: Metadata pasting, Up: The tool chest [Contents][Index]
ponysay-tool
allows you to edit the metadata in a pony file by running
ponysay-tool --edit PONY-FILE
, where PONY-FILE
is the pony file to edit,
not the pony name. No additional options are available.
ponysay-tool --edit PONY-FILE
is interative and opens an editor inspired by GNU Emacs.
The tool will give you the standard tags to fill and will automatically fill in HEIGHT
and WIDTH for you without allowing you to editing those two tags. Additionally the editor
will print the pony at the right side of the terminal with the name of the file you are editing.
The commands the editor use is a small subset of the standard commands in GNU Emacs. Currently the commands are only coded for xterm (just about all terminals except Linux VT.) C-x means x with control held down. M-x means x with alt (meta) held down.
Set mark; only if mark is set and is at the same position as the point (cursor) the mark is deactivated. A mark creates a text select, it cannot span between lines.
Cut out the rest of the line and add it to the kill ring.
Cut out selected text and add it to the kill ring.
Add the selected text to the kill ring and unset the mark.
Paste (yank) text from the kill ring.
Cycle in the kill ring.
Insert a next line below the current line and go to it. This is useful if you want to add another entry for a tag.
Go to next line, create a new line if at last line.
Go to next line, do not create a new line if at last line.
Go to previous line.
Go to next column.
Go to previous column.
Go to the beginning of the line.
Go to the end of the line.
Remove the previous character on the same line.
Remove the current character on the same line.
Enter or exit override mode.
Swap the mark and the point.
Save your changes.
Exit the editor, do not forget to save if you have made changes.
Next: Metadata collections, Previous: Metadata pasting, Up: The tool chest [Contents][Index]