Added emacs scripts

This commit is contained in:
hellerve
2015-05-27 18:47:14 +02:00
parent 547ae588af
commit c9f9c1d44f
137 changed files with 25707 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# key: imp
# name: qualified import
# condition: (= (length "imp") (current-column))
# contributor: Luke Hoersten <luke@hoersten.org>
# --
import qualified ${1:Module} as ${2:${1:$(let ((name (car (last (split-string yas-text "\\\.")))))
(if (= 0 (length name)) ""
(subseq name 0 1)))}}$0