Skip to content

Instantly share code, notes, and snippets.

@smoser
smoser / README.md
Last active Jan 31, 2016
build-pentadactyl: build pentadactyl from git or mercurial on ubuntu
View README.md

Build Pentadactyl on Ubuntu

This builds pentadactl on Ubuntu in a simple './build-pentadactyl'. I use it since daily builds have been sporadic.

Issues

  • issue 95: not working entirely correctly on firefox 42
  • issue 79: signing enforcement of firefox 44 and later (warning only in 42, 43) will need to be addressed.
  • issue 99: Future development of Pentadactyl
@lily-mara
lily-mara / evil-custom-objects.el
Last active Sep 17, 2019
easily create simple evil-mode text objects
View evil-custom-objects.el
; courtesy of Gordon Gustafson on StackOverflow
; originally posted 2014-03-15
; http://stackoverflow.com/questions/18102004/emacs-evil-mode-how-to-create-a-new-text-object-to-select-words-with-any-non-sp
(defmacro define-and-bind-text-object (key start-regex end-regex)
(let ((inner-name (make-symbol "inner-name"))
(outer-name (make-symbol "outer-name")))
`(progn
(evil-define-text-object ,inner-name (count &optional beg end type)
(evil-regexp-range count beg end type ,start-regex ,end-regex t))
@dashed
dashed / github-pandoc.css
Created Sep 26, 2013
GitHub-like CSS for pandoc standalone HTML files (perfect for HTML5 output). Based on Marked.app's GitHub CSS. Added normalize.css (v2.1.3) in the prior to GitHub css.
View github-pandoc.css
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
@kidd
kidd / emvil.el
Created Feb 14, 2012
'perfect' combination of emacs+evil
View emvil.el
;;; https://lists.ourproject.org/pipermail/implementations-list/2012-February/001513.html
(add-to-list 'load-path "~/programmingStuff/evil/")
(require 'evil)
;; remove all keybindings from insert-state keymap
(setcdr evil-insert-state-map nil)
;; but [escape] should switch back to normal state
(define-key evil-insert-state-map [escape] 'evil-normal-state)
(define-key evil-insert-state-map (kbd "jk") 'evil-normal-state)
(define-key evil-insert-state-map (kbd "jj") 'insert-jay)