ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Readonly​Writable

by pyzhangxiang ST2

Sublime Text 2 plugin to set file readonly or writable based on "Toggle Read-Only"

Details

  • 2013.04.18.17.30.31
  • github.​com
  • github.​com
  • 12 years ago
  • 1 hour ago
  • 12 years ago

Installs

  • Total 647
  • Win 427
  • Mac 138
  • Linux 82
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Set file readonly or writable in Sublime Text 2

Sublime Text 2 plugin to set file readonly or writable based on “Toggle Read-Only” (https://github.com/reflog/toggle-readonly)

Deferent to “Toggle Read-Only”, this plugin has two commands in the context menu of tab, side bar and buffer area:

Set Readonly (enabled if the file is writable)

Set Writable (enabled if the file is readonly)

Install

If you are using the Sublime Package Manger hold down Ctrl+shift+p and type Package Control: Install Package. Then search for ReadonlyWritable and hit return.

If you are not using the package manager then cd into your Sublime packages directory (open SublimeText, menu: Preferences -> Browse Packages). Then run

git clone https://github.com/pyzhangxiang/sublimetext-2-readonly-writable.git ReadonlyWritable

Or you can download the package as a compressed file, then uncompress it into your Sublime packages directory.

Usage

To use the command right click on the file in the tab or side bar or in the buffer area.