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

Read Only Buffer

by crazybyte ST2

SublimeReadOnlyBuffer is small plugin for setting Sublime Text 2 editor buffer(s) read-only and maintaning the read-only/read-write state of an edited file between editing sessions using a filename cache.

Details

  • 2013.04.01.09.37.34
  • github.​com
  • github.​com
  • 12 years ago
  • 2 hours ago
  • 12 years ago

Installs

  • Total 189
  • Win 90
  • Mac 50
  • Linux 49
Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 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
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

Sublime Read Only Buffer

SublimeReadOnlyBuffer is small plugin for setting Sublime Text 2 editor buffer(s) read-only and maintaning the read-only/read-write state of an edited file between editing sessions using a filename cache.

Install

Install with Package Control.

Command Palette > Package Control: Install Package > Read Only Buffer

Or clone this reporitory from GitHub into Sublime's Packages folder:

$ git clone https://github.com/crazybyte/SublimeReadOnlyBuffer.git

Config

You can edit the configuration/filename cache list via the menu entry.

Preferences -> Package Settings -> Read Only Buffer -> Settings - User

Or

Command Palette > Preferences: Read Only Buffer Settings - User

{
    "cache" : {
        "filename": True
    }
}

Usage

For setting a buffer read-only use Buffer: Set read-only buffer option, from command palette or on OS X key binding super + shift + r or key binding ctrl + alt + r on Linux.
For setting a buffer read-write use Buffer: Set read-write buffer option, from command palette or on OS X key binding super + shift + u or key binding ctrl + alt + u on Linux.

Contributors

Jeffrey Sadeli

License

This plugin is licensed under the MIT license.