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

Installs

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