Skip to content

rogerleite/gedit-snippets-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION AND MOTIVATION:

Tool to generate cheat sheet of gedit’s snippets .

Gedit’s snippets are personal files that you can change any time, and now, you can have your “custom” cheat sheet any time too.

INSTALLATION:

sudo gem install rogerleite-gedit-snippets-tool -s http://gems.github.com

USAGE

To generate a cheat sheet with all your snippets:
gedit-snippets-tool -cs > ~/mycheatsheet.xhtml

To generate a cheat sheet with all your snippets that starts with “ruby”:
gedit-snippets-tool -cs ruby* > ~/mycheatsheet.xhtml

After that, you can access you new brand cheat sheet at your home folder.

IMPORTANT: gedit-snippets-tool reads your “{home-folder}/.gnome2/gedit/snippets/” folder. I noticed that default use of snippet plugin uses “/usr/share/gedit-2/plugins/snippets/” folder. So please, with you want to generate your cheat sheets, copy the contents from “/usr/share/gedit-2/plugins/snippets/” to “{home-folder}/.gnome2/gedit/snippets/”. Thanks!

LICENSE:

(The MIT License)

Copyright © 2008 FIX

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
‘Software’), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Tool to generate cheat sheet of gedit's snippets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages