Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zk-phi/scratch-palette

Add notes on each files
https://github.com/zk-phi/scratch-palette

emacs

Last synced: 3 days ago
JSON representation

Add notes on each files

Awesome Lists containing this project

README

        

* scratch-palette.el

ファイルにメモを残す

make scratch buffer for each files

** Incompatible changes 1.0.4

This plugin no longer requires popwin to work, and the behavior is slightly changed.

If you want the previous behavior, specify =popwin:popup-buffer= explicitly.

#+begin_src emacs-lisp
(require 'popwin)
(setq scratch-palette-popup-function popwin:popup-buffer)
#+end_src

** Usage

Require this script and set a directory to save scratches in.

: (require 'scratch-palette)
: (setq scratch-palette-directory "~/.emacs.d/palette/")

Then the command =M-x scratch-palette-popup= is available. This
command displays the scratch buffer for the file. When called with
region, the region is yanked to the scratch buffer.

You may close note with one of =C-g=, =C-x C-x=, or =C-x C-k=. Its
contents are automatically saved.