Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Octopress plugin for Sublime Text 2
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Default (OSX).sublime-keymap
Default.sublime-commands
Main.sublime-menu
README.md
octopress.py

README.md

Octopress plugin for Sublime Text 2

Pitfalls

Plugin assumes that you have your octopress folder opened in the file pane. For now, 'octopress folder' means 'first folder with Rakefile in it' :)

OS X Pitfall: Octopress uses rake, which uses ruby. If you run Sublime Text 2 from the GUI (dock/launchpad/etc.) it may not see your bash environment, including your usual ruby path. To fix this you need to add necessary environment variables to ~/.MacOSX/environment.plist. It could be done manually or using a simple script like this one. The changes to the environment symbol definitions will become active the next time you log in.

Installation

Copy/clone repo contents to Packages/Octopress directory.

Commands supported (Tools/Octopress)

  • New post... - create a new post (asks for title)
  • Deploy - deploys blog (may block for a few seconds, to be improved in the future)

TODO

  • Better packaging
  • Other commands (generate, preview, etc.)
  • Store octopress dir in config

Links

Something went wrong with that request. Please try again.