diff --git a/README b/README index ff5b0bb..618fdff 100644 --- a/README +++ b/README @@ -1,26 +1,28 @@ Gedit Snap Open Plugin -Copyright (C) 2006-2010 Mads Buus Westmark +Copyright (C) 2006-2011 Mads Buus Westmark -see CHANGELOG for details +This plugin is for Gnome 3. +The old gnome2 version is available as a git tag. + +see INSTALL and CHANGELOG for details This plugin makes it much more convenient to open related source files. Inspired by TextMate for Mac, this plugin will use regular expressions -to quickly search through files as you type. +to quickly search through files as you type. Press CTRL+ALT+o (letter o) to open dialog (On MAC, the shortcut is alt-cmd-o) Filebrowser integration: if the 'file browser' integration is enabled Snap Open will use the filebrowsers 'root' dir as top level dir when searching -for files to open. if filebrowser is NOT used, The files suggested are those -in or below the directory from where gedit was started. +for files to open. if filebrowser is NOT used, The files suggested are those +in or below the directory from where gedit was started. -You can enter text or use arrow keys to select the file, +You can enter text or use arrow keys to select the file, and then hit enter to open that file. If the file is already open, Gedit will switch to the proper tab. Escape will close the dialog. This plugin uses 'find' and 'grep' tools. You can modify the actual -search command by editing snapopen.py and look for lines around +search command by editing snapopen.py and look for lines around cmd = "find ... -For more information, visit my blog: http://www.upperbound.net/ -Or the project page: http://github.com/MadsBuus/gedit-snapopen-plugin +http://github.com/MadsBuus/gedit-snapopen-plugin diff --git a/snapopen/INSTALL b/snapopen/INSTALL index a8ff402..166d48f 100644 --- a/snapopen/INSTALL +++ b/snapopen/INSTALL @@ -1,19 +1,24 @@ Gedit Snapopen Plugin -INSTALLATION INSTRUCTIONS - -Downloaded: -1) Extract contents of archive -2) Copy files from gedit-snapopen directory to - ~/.gnome2/gedit/plugins -3) Fire up gedit, go to Edit->Preferences, select the - Plugins tab, and make sure "Snap Open" is checked - -GIT clone -1) git clone git://github.com/MadsBuus/gedit-snapopen-plugin.git -2) create a symlink: - mkdir -p ~/.gnome2/gedit/ - cd ~/.gnome2/gedit/ - ln -s [path/to/clone] plugins - - \ No newline at end of file +INSTALL (Gnome 3) + +git clone git://github.com/MadsBuus/gedit-snapopen-plugin.git +cd ~/.local/share/gedit/plugins +ln -s [path/to/clone]/snapopen.plugin . +ln -s [path/to/clone]/snapopen . + +(If an directory is missing, just create it) + +INSTALL (Gnome 2) + +The last gnome 2 version is available as a tag. + +git clone git://github.com/MadsBuus/gedit-snapopen-plugin.git +cd gedit-snapopen-plugin +git checkout gnome2.x +cd ~/.gnome2/gedit/plugins +ln -s [path/to/clone]/snapopen.plugin . +ln -s [path/to/clone]/snapopen . + +(If an directory is missing, just create it) + diff --git a/snapopen/VERSION b/snapopen/VERSION index c068b24..9550710 100644 --- a/snapopen/VERSION +++ b/snapopen/VERSION @@ -1 +1,3 @@ -1.4 +1.5 (Gnome3) +1.4 (Gnome2) +