From dd4593b0f932feac66b933fc2b34430c1b2a3c6f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 29 Oct 2016 02:19:43 -0700 Subject: [PATCH] [Emacs] Add non-projectile compile command --- dotfiles/emacs.d/README.org | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index c08656c0..d2a4d7a8 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1406,6 +1406,14 @@ https://github.com/alpaker/Fill-Column-Indicator/issues/21 for more details (add-hook 'prog-mode-hook 'fci-mode))) #+END_SRC * Keybindings +** god-mode +#+BEGIN_SRC emacs-lisp +(use-package god-mode + :demand t + :config + (progn + (global-set-key (kbd "") 'god-local-mode))) +#+END_SRC ** bind-key #+BEGIN_SRC emacs-lisp (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")) (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") ("t" imalison:make-test "Test") ("u" imalison:glide-up "Update Dependencies"))