-
Notifications
You must be signed in to change notification settings - Fork 8
Example Emacs Config
DavidAustinNix edited this page Jan 22, 2016
·
4 revisions
The following worked on RedHat and might help other first timers like me:
- Download the snakemake-mode https://github.com/kyleam/snakemake-mode
- If needed create this folder ~/.emacs.d/lisp/ and put the snakemake-mode.elc file in it
- If needed create and then add the following to your emacs config script ~/.emacs
;; Tell emacs where is your personal elisp lib dir
(add-to-list 'load-path "~/.emacs.d/lisp/")
;; load the named packaged
(load "snakemake-mode")
;; define what files should open automatically in snakemake-mode, I'm using xxx.sm for these
(add-to-list 'auto-mode-alist '("\.sm\'" . snakemake-mode))
- Launch an emacs session "emacs myFabulousSnakemakeScript.sm"