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
  • 6 years ago
  • 38 minutes ago
  • 7 years ago

Installs

  • Total 188
  • Win 89
  • OS X 50
  • Linux 49
Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 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
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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.