Project

sublime

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper to manipulate preferences for Sublime Text
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3.5
~> 1.8.4
~> 3.12
~> 2.8.0

Runtime

 Project Readme

Sublime

Basic wrapper for Sublime Text 2 settings. Has shortcuts for default and user paths.

Basic Usage

settings = Sublime::Settings.user.new
settings.merge!("theme" => "Soda Dark.sublime-theme")
settings.save!

Or shortcut

Sublime::Settings.user.update!("theme" => "Soda Dark.sublime-theme")

Setting object are just Ruby hashes, so you can call any hash methods for manipulation.

Contributing

Only paths for OSX have been defined. Feel free to fork do pull requests for filepaths on Linux or Windows.

Copyright

Copyright (c) 2013 Elpizo Choi. See LICENSE.txt for further details.