https://github.com/crdoconnor/op
Fast file finder and opener.
https://github.com/crdoconnor/op
Last synced: over 1 year ago
JSON representation
Fast file finder and opener.
- Host: GitHub
- URL: https://github.com/crdoconnor/op
- Owner: crdoconnor
- License: mit
- Created: 2015-03-28T04:30:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-28T05:39:30.000Z (over 11 years ago)
- Last Synced: 2025-03-17T19:48:01.817Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
Op
==
Fast file finder and opener.
Examples
========
Open a deep file with a minimum of key words::
~/yourgitrepo$ op some buried file
Loading:
- ~/yourgitrepo/your/**some**/**file**/very/deep/and/**buried**/somewhere.txt
*Multiple* matching files are listed in reverse modification order. Nothing is opened::
~/yourgitrepo$ op buried file
./a/third/**file**/very/deep/and/**buried**/somewhere.txt
./a/second/**file**/very/deep/and/**buried**/somewhere.txt
./a/first/**file**/very/deep/and/**buried**/somewhere.txt
Add the number 1 at the end to load just the last modified matching file::
~/yourgitrepo$ op buried file 1
Loading:
- ./a/third/file/very/deep/and/buried/somewhere.txt)
Install
=======
$ sudo pip install op
Customize
=========
By default, op will invoke your system's default text editor when
opening files.
If you want to customize:
* What to use to open the files you find (e.g. your favorite text editor).
* Which files to ignore and when.
* Which group of files to go looking in.
Then you will want to put an op.yml in a directory that you want
to use it in.