General cleanup

This commit is contained in:
Henrik Lissner 2016-04-20 21:36:32 -04:00
parent 9a5f3cad10
commit 53879f2528
11 changed files with 96 additions and 101 deletions

View file

@ -4,13 +4,16 @@
:when IS-MAC
:commands (processing-mode processing-find-sketch)
:mode "\\.pde$"
:init
(define-builder! processing-mode processing-sketch-build)
(add-hook 'processing-compilation-mode-hook 'narf|hide-mode-line)
:config
(setq processing-location "/usr/local/bin/processing-java"
processing-application-dir "/Applications/Processing.app"
processing-sketchbook-dir "~/Dropbox/work/pde"
processing-output-dir "/tmp")
(define-builder! processing-mode processing-sketch-build)
(after! quickrun
(quickrun-add-command
"processing" `((:command . ,processing-location)
@ -21,7 +24,7 @@
(map! :map processing-mode-map
:nv "M-r" 'processing-sketch-run
:m "gD" 'processing-find-in-reference
:m "gd" 'processing-find-in-reference
:m "gF" 'processing-find-sketch
(:localleader
"e" 'processing-export-application
@ -29,7 +32,6 @@
"e" 'processing-open-examples
"o" 'processing-open-sketchbook))
(add-hook 'processing-compilation-mode-hook 'narf|hide-mode-line)
(add-hook! processing-mode
(setq-local company-backends '((company-keywords
:with