|
| 1 | +External Tools |
| 2 | +============== |
| 3 | + |
| 4 | +About |
| 5 | +----- |
| 6 | +This plugin provides a way to quickly launch external tools (i.e. non-geany |
| 7 | +tools) in the same context as a document. For example, this may include |
| 8 | +starting a terminal or a file manager in the same directory as the current |
| 9 | +file. |
| 10 | + |
| 11 | +Supported tools |
| 12 | +--------------- |
| 13 | +The tools currently supported include: |
| 14 | + |
| 15 | +1. Open Terminal: This option launches a terminal in the same directory as the |
| 16 | +current document. |
| 17 | + |
| 18 | +2. Open Directory: Launches a file manager, in the same directory as the |
| 19 | +current document. |
| 20 | + |
| 21 | +They may be launched from the *Tools* menu, or via a shortcut. |
| 22 | + |
| 23 | +Configuration |
| 24 | +------------- |
| 25 | +In the plugin's preferences you can adjust the command used to spawn each |
| 26 | +tool. Occurrences of `%f` in the provided commands are substituted with the |
| 27 | +path to the current file, while `%d` is substituted with the path to the |
| 28 | +directory in which the file resides. |
| 29 | + |
| 30 | +If the current document is *untitled*, %d is replaced with the home directory, |
| 31 | +while %f is effectively erased. |
| 32 | + |
| 33 | +**Tip:** Some file managers support opening a window at a directory *and* |
| 34 | +placing focus on a specific file. Examples: `nemo %f`, `nautilus %f`, `dolphin |
| 35 | +--select %f`. |
| 36 | + |
| 37 | +Adding new tools |
| 38 | +---------------- |
| 39 | +At the moment, adding new tools requires modifying the plugin's source, though |
| 40 | +the code is structured in a way to easily accommodate this. |
| 41 | + |
| 42 | +Bug reports, suggestions, patches |
| 43 | +--------------------------------- |
| 44 | +You can report bugs, or suggest new tools or other improvements at the |
| 45 | +geany-plugins project on GitHub: https://github.com/geany/geany-plugins. You |
| 46 | +may page the developer using `@gkatev`. |
| 47 | + |
| 48 | +License |
| 49 | +------- |
| 50 | +The External Tools plugin is distributed under the terms of the GNU General |
| 51 | +Public License as published by the Free Software Foundation; either version 2 |
| 52 | +of the License, or (at your option) any later version. A copy of this license |
| 53 | +can be found in the file COPYING included with the source code of this program. |
| 54 | + |
| 55 | +Contact |
| 56 | +------- |
| 57 | +George Katevenis <george_kate(at)hotmail(dot)com> |
0 commit comments