Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rossy/cyg-subl
Launch Sublime Text from Cygwin
https://github.com/rossy/cyg-subl
bash cygwin msys2 shell sublime-text sublime-text-3 windows
Last synced: 2 months ago
JSON representation
Launch Sublime Text from Cygwin
- Host: GitHub
- URL: https://github.com/rossy/cyg-subl
- Owner: rossy
- Created: 2014-07-30T06:50:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-14T06:17:05.000Z (over 10 years ago)
- Last Synced: 2023-03-12T10:30:10.192Z (almost 2 years ago)
- Topics: bash, cygwin, msys2, shell, sublime-text, sublime-text-3, windows
- Language: Shell
- Size: 180 KB
- Stars: 14
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**cyg-subl** translates Cygwin paths to native Windows paths, so you can launch
Sublime Text as if it was any other Cygwin editor.Installation
------------Run:
$ git clone https://github.com/rossy2401/cyg-subl.git
$ cd cyg-subl
$ make installAs long as Sublime Text is installed, there is no need for configuration. The
location of the `sublime_text` binary is determined from the registry.Usage
-----To open `file.txt` for editing:
$ subl file.txt
To create `file.txt` with properly set Cygwin permissions and the current
umask:$ subl --touch file.txt
To open `file.txt` and always detach Sublime Text from the terminal:
$ subl --cygstart file.txt
To use Sublime Text to edit a git commit message:
$ export VISUAL='subl --launch --wait'
$ git commitTo set up an alias for quickly opening files:
$ alias s='subl --touch --cygstart --'
$ s *.txtCopying
-------To the extent possible under law, the author(s) have dedicated all copyright
and related and neighboring rights to this software to the public domain
worldwide. This software is distributed without any warranty.[![CC0](http://i.creativecommons.org/p/zero/1.0/80x15.png)](http://creativecommons.org/publicdomain/zero/1.0/)