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
  • 4 hours ago
  • 12 years ago

Installs

  • Total 189
  • Win 90
  • Mac 50
  • Linux 49
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 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19
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.