Skip to content

Instantly share code, notes, and snippets.

key binding
--- -------
TAB forward-button
(that binding is currently shadowed by another mode)
RET gist-fetch-current
ESC Prefix Command
SPC scroll-up-command
+ gist-add-buffer
- gist-remove-file
@nathanbeddes
nathanbeddes / gist:4550402
Created January 16, 2013 20:07
additional package archives. from init.el
;;
;; Additional package archives
;;
(require 'package)
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives '("ELPA" . "http://tromey.com/elpa/"))
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)
object FileMatcher {
private def filesHere = (new java.io.File(".")).listFiles
private def filesMatching(matcher: String => Boolean) =
for (file <- filesHere
if matcher(file.getName))
yield file
def filesEnding(query: String) =
filesMatching(_.endsWith(query))
@nathanbeddes
nathanbeddes / testgist.txt
Created August 24, 2012 19:26
Testing gist-mode
This is my initial test of gist.
This is an update.
A second update.
@nathanbeddes
nathanbeddes / testgist
Created March 27, 2012 04:28
Just a test gist with an update
This is my initial test of gist.