summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
authorAlan Pearce2017-09-19 19:17:37 +0200
committerAlan Pearce2017-09-19 19:17:37 +0200
commitff961def98e85161a8373a51bb40e73a2e38897f (patch)
treee97d03d66be541e4c9f8c53194bf1a9f4edd769b /emacs/.emacs.d/main.el
parent78a4703f79b22f7af6e21529f3f9c73607cf691f (diff)
parenta4cc28d1a815d504b637739f78100676983bda5c (diff)
downloaddotfiles-ff961def98e85161a8373a51bb40e73a2e38897f.tar.lz
dotfiles-ff961def98e85161a8373a51bb40e73a2e38897f.tar.zst
dotfiles-ff961def98e85161a8373a51bb40e73a2e38897f.zip
Merge branch 'master' of https://git.alanpearce.eu/dotfiles
Diffstat (limited to 'emacs/.emacs.d/main.el')
-rw-r--r--emacs/.emacs.d/main.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 5c40008..b749a10 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -521,7 +521,8 @@
 (use-package projectile-ripgrep
   :after (ripgrep projectile)
   :if (executable-find "rg")
-  :bind (("C-c p s r" . projectile-ripgrep)))
+  :bind (:map projectile-command-map
+              ("s r" . projectile-ripgrep)))
 ;; #+END_SRC
 
 ;;;;;; Projectile
@@ -539,8 +540,9 @@
   :demand t
   :diminish projectile-mode
   :config (progn
-            (projectile-mode +1)
+            (projectile-global-mode +1)
             (add-to-list 'projectile-globally-ignored-directories ".stversions")
+            (setq projectile-mode-line "P")
 
             (defun yarn-install (&optional arg)
               (interactive "P")
@@ -1785,7 +1787,7 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
 ;;;;;; Beancount
 
 ;; #+BEGIN_SRC emacs-lisp
-(let ((beancount-dir (car (split-string (shell-command-to-string "ghq list --full-path beancount")))))
+(let ((beancount-dir (car (split-string (shell-command-to-string "ghq list --full-path blais/beancount")))))
   (when (and beancount-dir
              (file-directory-p beancount-dir))
     (add-to-list 'load-path (expand-file-name "editors/emacs/"