[Emacs] Add non-projectile compile command

This commit is contained in:
Ivan Malison 2016-10-29 02:19:43 -07:00
parent 06704cc02e
commit dd4593b0f9
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1406,6 +1406,14 @@ https://github.com/alpaker/Fill-Column-Indicator/issues/21 for more details
(add-hook 'prog-mode-hook 'fci-mode))) (add-hook 'prog-mode-hook 'fci-mode)))
#+END_SRC #+END_SRC
* Keybindings * Keybindings
** god-mode
#+BEGIN_SRC emacs-lisp
(use-package god-mode
:demand t
:config
(progn
(global-set-key (kbd "<escape>") 'god-local-mode)))
#+END_SRC
** bind-key ** bind-key
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package bind-key) (use-package bind-key)
@ -1467,7 +1475,8 @@ https://github.com/alpaker/Fill-Column-Indicator/issues/21 for more details
(imalison:named-compile "glide up")) (imalison:named-compile "glide up"))
(defhydra imalison:compile nil "Compile" (defhydra imalison:compile nil "Compile"
("s" imalison:projectile-helm-command-from-zsh "Select a command from shell history") ("p" imalison:projectile-helm-command-from-zsh "Run a command in projectile root")
("d" helm-command-from-zsh "Run a command in default directory")
("c" imalison:named-compile "Enter Custom Command") ("c" imalison:named-compile "Enter Custom Command")
("t" imalison:make-test "Test") ("t" imalison:make-test "Test")
("u" imalison:glide-up "Update Dependencies")) ("u" imalison:glide-up "Update Dependencies"))