Skip to content

Commit

Permalink
Cleanup code (#151)
Browse files Browse the repository at this point in the history
* Cleanup code
- drop support for ST2 and ST<3053
- format document
- improve code
* Change extension markdown -> md
* Add Installation instructions
* Replace a couple of set `update` with `add`
  • Loading branch information
AmjadHD authored Dec 19, 2020
1 parent 4494d18 commit c564fa1
Show file tree
Hide file tree
Showing 3 changed files with 176 additions and 180 deletions.
2 changes: 1 addition & 1 deletion Main.sublime-menu
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"caption": "README",
"command": "open_file",
"args": {
"file": "${packages}/Origami/README.markdown"
"file": "${packages}/Origami/README.md"
}
},
]
Expand Down
25 changes: 21 additions & 4 deletions README.markdown → README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Origami
======
Origami is a new way of thinking about panes in Sublime Text 2 and 3: you tell Sublime Text where you want a new pane, and it makes one for you. It works seamlessly alongside the built-in layout commands.
Origami is a new way of thinking about panes in Sublime Text: you tell Sublime Text where you want a new pane, and it makes one for you. It works seamlessly alongside the built-in layout commands.

Ordinarily one uses the commands under View>Layout, or if one is quite intrepid a custom keyboard shortcut can be made to give a specific layout, but both of these solutions were unsatisfactory to me. Perhaps they were to you too! That's what this plugin is for.

Expand Down Expand Up @@ -42,7 +42,24 @@ You can have Origami automatically zoom the active pane by setting `auto_zoom_on

Origami can also automatically close a pane for you once you've closed the last file in it. Just set `auto_close_empty_panes` to true in the Origami preferences.

Install
-------
Installation
------------

Search for Origami on [Package Control](https://sublime.wbond.net/)!
#### Using package control

1. Open up the command palette: <kbd>ctrl+shift+p</kbd>
2. Search for `Package Control: Install Package`
3. Search for `Origami`
4. Hit <kbd>enter</kbd> :wink:

#### Using the command line

If you want to contribute to this package, first thanks, and second, you should download this using `git` so that you can propose your changes.

```bash
cd "%APPDATA%\Sublime Text 3\Packages" # on Windows
cd ~/Library/Application\ Support/Sublime\ Text\ 3 # on Mac
cd ~/.config/sublime-text-3 # on Linux

git clone "https://github.com/SublimeText/Origami.git"
```
Loading

0 comments on commit c564fa1

Please sign in to comment.