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
  • 13 years ago

Installs

  • Total 647
  • Win 427
  • Mac 138
  • Linux 82
Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5
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.