summary refs log tree commit diff stats
path: root/emacs/.emacs.d/main.el
diff options
context:
space:
mode:
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 5c400086..b749a106 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/"