All Projects → minad → Marginalia

minad / Marginalia

Licence: gpl-3.0
📜 marginalia.el - Marginalia in the minibuffer

Projects that are alternatives of or similar to Marginalia

Mypy boto3 builder
Type annotations builder for boto3 compatible with VSCode, PyCharm, Emacs, Sublime Text, pyright and mypy.
Stars: ✭ 123 (+10.81%)
Mutual labels:  annotations, emacs
Org Pandoc Import
Save yourself from non-org formats, thanks to pandoc
Stars: ✭ 111 (+0%)
Mutual labels:  emacs
Slime
The Superior Lisp Interaction Mode for Emacs
Stars: ✭ 1,541 (+1288.29%)
Mutual labels:  emacs
Nova
NOVA is a tool for annotating and analyzing behaviours in social interactions. It supports Annotators using Machine Learning already during the coding process. Further it features both, discrete labels and continuous scores and a visuzalization of streams recorded with the SSI Framework.
Stars: ✭ 110 (-0.9%)
Mutual labels:  annotations
Org Brain
Org-mode wiki + concept-mapping
Stars: ✭ 1,512 (+1262.16%)
Mutual labels:  emacs
Company Irony
company-mode completion back-end for irony-mode
Stars: ✭ 110 (-0.9%)
Mutual labels:  emacs
Weblorg
Static Site Generator for Emacs
Stars: ✭ 103 (-7.21%)
Mutual labels:  emacs
Typical
Typical: Fast, simple, & correct data-validation using Python 3 typing.
Stars: ✭ 111 (+0%)
Mutual labels:  annotations
Emacs Gtd
Get Things Done with Emacs
Stars: ✭ 111 (+0%)
Mutual labels:  emacs
Deep Learning Based Ecg Annotator
Annotation of ECG signals using deep learning, tensorflow’ Keras
Stars: ✭ 110 (-0.9%)
Mutual labels:  annotations
Web Mode
web template editing mode for emacs
Stars: ✭ 1,470 (+1224.32%)
Mutual labels:  emacs
Smartparens
Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
Stars: ✭ 1,529 (+1277.48%)
Mutual labels:  emacs
Smart Scan
Jumps between other symbols found at point in Emacs
Stars: ✭ 110 (-0.9%)
Mutual labels:  emacs
Centered Window Mode
Keep your text centered when there's only one window.
Stars: ✭ 107 (-3.6%)
Mutual labels:  emacs
Lsp Pyright
lsp-mode ❤️ pyright
Stars: ✭ 111 (+0%)
Mutual labels:  emacs
Jeison
An Emacs library for declarative JSON parsing
Stars: ✭ 106 (-4.5%)
Mutual labels:  emacs
Reason Mode
Emacs major mode for working with ReasonML
Stars: ✭ 108 (-2.7%)
Mutual labels:  emacs
Kripton
A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR.
Stars: ✭ 110 (-0.9%)
Mutual labels:  annotations
Emacs Doom Themes
A megapack of themes for GNU Emacs.
Stars: ✭ 1,706 (+1436.94%)
Mutual labels:  emacs
Magit Delta
Use delta (https://github.com/dandavison/delta) when viewing diffs in Magit
Stars: ✭ 109 (-1.8%)
Mutual labels:  emacs

#+title: marginalia.el - Marginalia in the minibuffer #+author: Omar Antolín Camarena, Daniel Mendler #+language: en #+export_file_name: marginalia.texi #+texinfo_dir_category: Emacs #+texinfo_dir_title: Marginalia: (marginalia). #+texinfo_dir_desc: Marginalia in the minibuffer

#+html:

#+html: MELPA #+html: MELPA Stable

  • Introduction

This package provides =marginalia-mode= which adds marginalia to the minibuffer completions. [[https://en.wikipedia.org/wiki/Marginalia][Marginalia]] are marks or annotations placed at the margin of the page of a book or in this case helpful colorful annotations placed at the margin of the minibuffer for your completion candidates. Marginalia can only add annotations to be displayed with the completion candidates. It cannot modify the appearance of the candidates themselves, which are shown as supplied by the original commands.

The annotations are added based on the completion category. For example =find-file= reports the =file= category and =M-x= reports the =command= category. You can choose between more or less detailed annotators, by setting the variable =marginalia-annotators= or by invoking the command =marginalia-cycle=.

Since many commands do not report a completion category themselves, Marginalia provides a classifier system, which tries to guess the correct category based for example on the prompt (see the variable =marginalia-prompt-categories=). Usually these heuristic classifiers work well, but if they do not there is always the possibility to overwrite categories by command name. This way you can associate a fixed category with the completion initiated by the command (see the variable =marginalia-command-categories=). The list of available classifiers is specified by the variable =marginalia-classifiers=.

#+html:

  • Configuration

It is recommended to use Marginalia together with either the [[https://github.com/raxod502/selectrum][Selectrum]] or the [[https://github.com/oantolin/icomplete-vertical][Icomplete-vertical]] completion system. Furthermore Marginalia can be combined with [[https://github.com/oantolin/embark][Embark]] for action support and [[https://github.com/minad/consult][Consult]], which provides many useful commands.

#+begin_src emacs-lisp ;; Enable richer annotations using the Marginalia package (use-package marginalia ;; Either bind marginalia-cycle globally or only in the minibuffer :bind (("M-A" . marginalia-cycle) :map minibuffer-local-map ("M-A" . marginalia-cycle))

;; The :init configuration is always executed (Not lazy!) :init

;; Must be in the :init section of use-package such that the mode gets ;; enabled right away. Note that this forces loading the package. (marginalia-mode)

;; When using Selectrum, ensure that Selectrum is refreshed when cycling annotations. (advice-add #'marginalia-cycle :after (lambda () (when (bound-and-true-p selectrum-mode) (selectrum-exhibit 'keep-selected))))

;; Prefer richer, more heavy, annotations over the lighter default variant. ;; E.g. M-x will show the documentation string additional to the keybinding. ;; By default only the keybinding is shown as annotation. ;; Note that there is the command `marginalia-cycle' to ;; switch between the annotators. ;; (setq marginalia-annotators '(marginalia-annotators-heavy marginalia-annotators-light nil)) ) #+end_src

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].