Skip to content

Instantly share code, notes, and snippets.

View stsquad's full-sized avatar

Alex Bennée stsquad

View GitHub Profile
@stsquad
stsquad / gist:5124431
Created March 9, 2013 15:02
Current scratch version
(defvar mark-list-mode-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map tabulated-list-mode-map)
(define-key map (kbd "RET") 'mark-list-visit-buffer)
(define-key map "\C-m" 'mark-list-visit-buffer)
(define-key map (kbd "d") 'mark-list-delete-mark)
map)
"Local keymap for `mark-list-mode-mode' buffers.")
(defvar mark-list-current-mark-list nil
@stsquad
stsquad / yasnippet-modeline.el
Last active December 11, 2015 21:39
An attempt to return a mode-line format string that describes what keys will still be valid yasnippet abbreviations.
;;; yasnippet-modeline.el --- Update mode-line with potential YASnippet keywords
;; Copyright (C) 2013 Alex Bennée
;; Author: Alex Bennée <[email protected]>
;; Maintainer: Alex Bennée <[email protected]>
;; Version: 0.01
;; Homepage: https://gist.github.com/4664006
;; This file is not part of GNU Emacs.