Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karimaziev/unmodified-buffer-mode
Unset modified flag for buffers which are identical to the file on disk.
https://github.com/karimaziev/unmodified-buffer-mode
Last synced: 4 days ago
JSON representation
Unset modified flag for buffers which are identical to the file on disk.
- Host: GitHub
- URL: https://github.com/karimaziev/unmodified-buffer-mode
- Owner: KarimAziev
- License: gpl-3.0
- Created: 2023-02-11T10:31:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-08T13:40:06.000Z (about 1 year ago)
- Last Synced: 2023-10-08T14:40:29.647Z (about 1 year ago)
- Language: Emacs Lisp
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* unmodified-buffer-mode
Global mode that revert modified buffers state which are identical to the file on disk on window change.
** Installation
- Emacs >= 24.1 is required.
- diff*** Manual
Download the source code and put it wherever you like, e.g. into =~/.emacs.d/unmodified-buffer-mode/=
#+begin_src shell :eval no
git clone https://github.com/KarimAziev/unmodified-buffer-mode.git ~/.emacs.d/unmodified-buffer-mode/
#+end_srcAdd the downloaded directory to the load path:
#+begin_src elisp :eval no
(add-to-list 'load-path "~/.emacs.d/unmodified-buffer-mode/")
(require 'unmodified-buffer-mode)
#+end_src#+begin_src elisp :eval no
(use-package unmodified-buffer-mode
:straight (unmodified-buffer-mode
:repo "KarimAziev/unmodified-buffer-mode"
:type git
:host github)
:hook (after-init . unmodified-buffer-mode))
#+end_src