Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Snapopen plugin for Gedit (Linux/Mac)
Python
branch: master

This branch is 35 commits behind MadsBuus:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
snapopen
README
snapopen.gedit-plugin

README

Gedit Snap Open Plugin
Copyright (C) 2006-2010 Mads Buus Jensen <online@buus.net>

see 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. 
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. 

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 the line starting with 
	cmd = "find ...

Known issues:
* Stalls if there are many files matched.
* Harmless broken pipe outputs with too many hits.
* 'find' command on every keystroke (not time-limited)
* Hard max-depth and 10 directories in 'find' command

For more information, visit my blog: http://www.upperbound.net/
Or the project page: http://github.com/MadsBuus/gedit-snapopen-plugin

Something went wrong with that request. Please try again.