Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

toggle-edit-mode

A read-only first workflow for buffer editing to prevent mistyping.

Motivation

When I was using emacs on a laptop, I always had a bad habbit that mistyped something on a buffer that visited a file, which would cause a typo or change something critical without noticed.

So I created this mode for the ease of editing without the fear of accidentually changing something in a buffer.

Usage

This mode enables read-only-mode when visiting a file, and a command can be bound to a key to toggle read-only-mode.

Also, when read-only-mode is on or off, cursor color will be changed,

  • when on, the color can be set to your preference with a custom variable.
  • when off, the color preserved from the theme cursor face will be set for the cursor.

About

A global minor mode that enables read-only first workflow for buffer editing to prevent mistyping.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages