Skip to content

Instantly share code, notes, and snippets.

View progfolio's full-sized avatar
👉
Looking For Work

Nicholas Vollmer progfolio

👉
Looking For Work
  • looking for work
View GitHub Profile
@progfolio
progfolio / semver.el
Created February 23, 2024 06:09
semver.el MELPA review
;;; semver.el --- Semver interpreter for Emacs -*- lexical-binding: t; -*-
;; Copyright (C) 2024 Guillaume Pasquet
;; Author: Guillaume Pasquet <dev@etenil.net>
;; Keywords: semver helper development
;; X-URL: https://gitlab.com/binary-ec/semver.el
;; URL: https://gitlab.com/binary-ec/semver.el
;; This file is not a part of GNU Emacs.
@progfolio
progfolio / slow-keys.el
Created July 24, 2022 09:02
slow-keys.el rewrite
;;; slow-keys.el --- Slow keys mode to avoid RSI -*- lexical-binding: t; -*-
;; Copyright (C) 2018 Manuel Uberti
;; Author: Manuel Uberti <manuel.uberti@inventati.org>
;; URL: https://github.com/manuel-uberti/slow-keys
;; Version: 0.1.0
;; Package-Requires: ((emacs "24.1"))
;; Keywords: convenience
@progfolio
progfolio / pc-prior-art.org
Last active March 13, 2022 05:25
private_comments front-end prior art research
  • Available on NonGNU Elpa and MELPA
  • Supports Emacs >= 27.1
  • recently updated (new maintainer)
  • annotation ranges supported (may make integration with private_comments more complex)
  • comments entered in minibuffer.
  • tied to its own database format
  • displays annotations on right side of window.
  • Threw timer errors when I used it.
@progfolio
progfolio / smelpa.el
Created March 8, 2022 21:50
Most Published MELPA Authors
;;; smelpa.el --- Scrapes MELPA -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Nicholas Vollmer
;; Author: Nicholas Vollmer
;; Keywords: convenience
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
@progfolio
progfolio / general-spacemacs.org
Last active March 20, 2024 17:04
Spacemacs-like menus using general.el

Spacemacs-like menus using general.el

Global keybindings

First, we define a global prefix key:

(general-create-definer global-definer
  :keymaps 'override
  :states  '(insert emacs normal hybrid motion visual operator)
  :prefix  "SPC"
  :non-normal-prefix "S-SPC")
@progfolio
progfolio / doct-org-roam.el
Created July 27, 2020 19:28
doct-org-roam.el
;;; doct-org-roam.el --- An org-roam extension for doct
;; Copyright (C) 2020 Nicholas Vollmer
;; Author: Nicholas Vollmer <progfolio@protonmail.com>
;; URL: https://github.com/progfolio/doct-org-roam
;; Created: July 27, 2020
;; Keywords: org, org-roam, convenience
;; Package-Requires: ((emacs "26.1"))
;; Version: 0.0.0
@progfolio
progfolio / Emacs-as-an-Org-capture-server.org
Last active April 3, 2024 16:02
Emacs as an Org capture server

Emacs as an Org capture server

The Concept

The general idea is to run an Emacs server as a daemon which clients can quickly connect to via a bash script. The client executes org-capture and the frame closes upon finalizing or aborting the capture.

Running a server daemon

The first step is to get an Emacs daemon running as a server with your name of choice. For this example, I’m going to use “capture” as the server name.