zk-phi / scratch-palette

Add notes on each files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

(require 'popwin)
(setq scratch-palette-popup-function popwin:popup-buffer)

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.

About

Add notes on each files


Languages

Language:Emacs Lisp 100.0%