Commit Graph

37 Commits

Author SHA1 Message Date
Peter Ruibal a51b6ffa6a Version bump to 1.0.3 2016-11-27 10:55:04 -08:00
Peter Ruibal cca35992ff Version bump (1.0.2) 2016-11-16 09:55:04 -08:00
Peter Ruibal 9186bd7805 Merge pull request #12 from eugene-eeo/master
Clean up code, improve README
2016-11-16 09:49:36 -08:00
Eeo Jun 9300eaa693
update README 2016-11-09 21:14:32 +08:00
Eeo Jun 5a32ae6180
remove un-needed function 2016-11-09 21:07:15 +08:00
Eeo Jun 4b57f3e098
don't re-split arguments 2016-11-09 21:01:40 +08:00
Peter Ruibal 38d866f127 setup.py tweaks
- Bump version to 1.0.1
- Bump release classifier from beta -> stable
- Postprocess README.md with pypandoc if available for `long_description`
2016-06-14 09:46:00 -07:00
Peter Ruibal 53b5bef873 Major version bump, etc
Add python trove identifier for python3.5
2016-04-01 08:13:30 -07:00
Peter Ruibal 50b188636b Merge pull request #8 from eugene-eeo/master
Use /dev/tty by default when stdout is not a tty, but stdin is
2016-04-01 08:10:42 -07:00
Eeo Jun 9cb458ff5b Added newline to end of test.py 2016-04-01 11:49:37 +08:00
Eeo Jun 05045bb016 Detect tty and add helper function 2016-04-01 11:47:28 +08:00
Eeo Jun 0956e21cba Default to not using tty 2016-03-31 15:37:22 +08:00
Eeo Jun 8ea8b41d94 Use branch instead of ternary operator 2016-03-31 15:36:46 +08:00
Eeo Jun e34758bb2a Use /dev/tty by default
This is because vim (and other terminal editors) typically
output to stdout. This is not very nice behaviour especially
if the program using the editor is piped to some other
program. Hence, using tty is saner.
2016-03-31 11:23:02 +08:00
Peter Ruibal d58b00f0de Version bump to 0.5 for release 2015-12-02 22:16:19 -08:00
Peter Ruibal b72a0f4dff Add "vim.basic" and "vim.tiny" to editors
These are common aliases for `editor` on debian, but vim requires
special flags in order to work correctly.  Adjust accordingly
2015-12-02 22:13:59 -08:00
Peter Ruibal 97b8ef222d Check editor from path (and traverse symlinks)
Fixes #4
2015-12-02 22:13:08 -08:00
Peter Ruibal d6fa2a6bb3 Version bump to 0.4
Add __version__ to the module itself.
2015-08-26 00:40:09 -07:00
Peter Ruibal 2eb2d4620a Merge branch 'master' of github.com:fmoo/python-editor 2015-08-26 00:38:18 -07:00
Peter Ruibal fa732f6eaa Merge pull request #2 from chkumar246/master
Added MANIFEST file to include README.md and LICENSE file in pypi tarball.
2015-08-26 00:35:47 -07:00
Chandan Kumar 8814515c4f Added MANIFEST file to include README.md and LICENSE file in pypi tarball 2015-08-24 16:51:04 +05:30
Peter Ruibal ce6d1937d8 Add comment to editor.py, version bump to 0.3 2015-07-16 10:45:58 -07:00
Peter Ruibal 74e26eabae Make editor.py executable 2015-01-10 23:02:52 -08:00
Peter Ruibal 1db5890c06 Version bump to 0.2 2015-01-10 23:01:00 -08:00
Peter Ruibal 97090d76ea Prefer VISUAL to EDITOR
Also, use environ.get() instead of os.path.expandvars()
2015-01-10 23:00:07 -08:00
Peter Ruibal 801a228450 Don't unnecessarily leak fds to editor process 2015-01-10 22:59:12 -08:00
Peter Ruibal 39c587d815 Improved nano support
Use "-R" (restricted) mode.
2015-01-10 22:56:13 -08:00
Peter Ruibal bc0f61f7c4 Added support for gedit
Using command line options:
* -w (Open files and block the gedit process)
* --new-window (Create a new toplevel window)
2015-01-10 20:45:44 -08:00
Peter Ruibal 561996958b Added __all__ to editor 2015-01-10 20:42:05 -08:00
Peter Ruibal 72aa40f359 Tweak, typo fix 2015-01-10 20:29:47 -08:00
Peter Ruibal e416d348a6 hint python to syntax highlighting 2015-01-10 20:29:23 -08:00
Peter Ruibal 2ec29217d3 Added README.md 2015-01-10 20:28:42 -08:00
Peter Ruibal 9a3a32548a Add python 3.4 to trove classifiers 2015-01-10 13:47:40 -08:00
Peter Ruibal ad5c2a8264 Add file (optional argument) and --contents CLI args 2015-01-10 13:47:18 -08:00
Peter Ruibal aeff906714 Add vim artifacts to gitignore 2015-01-10 13:36:10 -08:00
Peter Ruibal da18a5019a Added .gitignore 2015-01-10 13:35:46 -08:00
Peter Ruibal 8c2ef02208 Initial commit 2015-01-10 13:35:34 -08:00