X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fsublime%2FREADME.md;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fsublime%2FREADME.md;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=22999241f56b8b777fa62db53ff089ba8887bda7;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/sublime/README.md b/stow/oh-my-zsh/.oh-my-zsh/plugins/sublime/README.md deleted file mode 100644 index 2299924..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/sublime/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# sublime - -Plugin for [Sublime Text](https://www.sublimetext.com/), a cross platform text and code editor, -available for Linux, macOS, and Windows. - -To use the plugin, add `sublime` to the plugins array of your zshrc file: - -```zsh -plugins=(... sublime) -``` - -Sublime Text has to be installed to use the plugin. - -## Usage - -The plugin defines several aliases, such as: - -- `st`: opens Sublime Text. If passed a file or directory, Sublime Text will open it. - -- `stt`: open Sublime Text on the current directory. - -- `sst`: if `sudo` is available, `sst` will open Sublime Text with root permissions, so that - you can modify any file or directory that you pass it. Useful to edit system files. - -There are also a few functions available: - -- `find_project` (or `stp` alias): if called, the function will search for a `.sublime-project` file - on the current directory or its parents, until it finds none. - - If there is no `.sublime-project` file but the current folder is in a Git repository, it will open - Sublime Text on the root directory of the repository. - - If there is no Git repository, it will then open Sublime Text on the current directory. - -- `create_project` (or `stn` alias): if called without an argument, create a stub `.sublime-project` - file in the current working directory, if one does not already exist. If passed a directory, create - a stub `.sublime-project` file in it.