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

Installs

  • Total 188
  • Win 89
  • OS X 50
  • Linux 49
Nov 17 Nov 16 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
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.