Skip to content

randomwangran/org-marginalia-posframe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Org-marginalia-posframe

https://img.shields.io/badge/License-GPLv3-blue.svg

Org-marginalia-posframe lets you preview the margin notes (Org-marginalia) under point.

./demo-show-posframe.gif

Setup

load to your emacs

(add-to-list 'load-path "<org-marginalia-posframe>")
(require 'org-marginalia-posframe)

setup your notes location

Set up your marginalia.org path, for example:

(setq om/notes-file-path "~/Documents/marginalia.org")

change to your key-binding preference

(define-key org-marginalia-mode-map (kbd "C-M-}") #'org-marginalia-next-preview)
(define-key org-marginalia-mode-map (kbd "C-M-{") #'org-marginalia-prev-preview)

Usage

check the notes under the hightlighted region

  • M-x org-marginalia-show-posframe

navigation the hightlighted region:

  • M-x org-marginalia-next-preview
  • M-x org-marginalia-prev-preview

navigation within the preview note

By clicking the link within the posframe, the window will change to the note location.

delete all the posframe

  • C-g

Ideas

edit using a posframe under point

Now, it will open another buffer to edit the note. It would be nicer to edit the note closer to the content.

About

Preview the margin notes (marginalia)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published