Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Looking For Work

Nicholas Vollmer progfolio

💭
Looking For Work
  • looking for work
View GitHub Profile
@progfolio
progfolio / general-spacemacs.org
Last active Aug 20, 2021
Spacemacs-like menus using general.el
View general-spacemacs.org

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")
View 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 Jul 27, 2021
Emacs as an Org capture server
View Emacs-as-an-Org-capture-server.org

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.