Move Projectile config to emacs-config
This commit is contained in:
parent
4b39099a75
commit
45ab0967ab
1 changed files with 0 additions and 32 deletions
|
@ -53,7 +53,6 @@
|
||||||
(require 'diminish)
|
(require 'diminish)
|
||||||
(require 'ivy)
|
(require 'ivy)
|
||||||
(require 'ivy-hydra)
|
(require 'ivy-hydra)
|
||||||
(require 'projectile)
|
|
||||||
(require 'shackle)
|
(require 'shackle)
|
||||||
|
|
||||||
;;;; Settings
|
;;;; Settings
|
||||||
|
@ -78,12 +77,6 @@
|
||||||
(setq forge-database-file
|
(setq forge-database-file
|
||||||
(concat user-emacs-directory "data/forge-database.sqlite")))
|
(concat user-emacs-directory "data/forge-database.sqlite")))
|
||||||
|
|
||||||
(with-eval-after-load 'projectile
|
|
||||||
(setq projectile-cache-file
|
|
||||||
(concat user-emacs-directory "data/projectile.cache")
|
|
||||||
projectile-known-projects-file
|
|
||||||
(concat user-emacs-directory "data/projectile-bookmarks.eld")))
|
|
||||||
|
|
||||||
(with-eval-after-load 'tramp-cache
|
(with-eval-after-load 'tramp-cache
|
||||||
(setq tramp-persistency-file-name
|
(setq tramp-persistency-file-name
|
||||||
(concat user-emacs-directory "data/tramp")))
|
(concat user-emacs-directory "data/tramp")))
|
||||||
|
@ -184,31 +177,6 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified"
|
||||||
(add-function :around (symbol-function 'diff-hl-changes-buffer)
|
(add-function :around (symbol-function 'diff-hl-changes-buffer)
|
||||||
#'oni:with-diff-hl-p4-args))
|
#'oni:with-diff-hl-p4-args))
|
||||||
|
|
||||||
(setq projectile-known-projects-file
|
|
||||||
(concat user-emacs-directory "data/projectile-bookmarks.eld"))
|
|
||||||
|
|
||||||
(with-eval-after-load 'projectile
|
|
||||||
(setq projectile-mode-line
|
|
||||||
'(:eval
|
|
||||||
(if (file-remote-p default-directory)
|
|
||||||
" P"
|
|
||||||
(let ((name (projectile-project-name)))
|
|
||||||
(if (string= "-" name)
|
|
||||||
""
|
|
||||||
(format " P[%s]" name)))))))
|
|
||||||
|
|
||||||
(setq projectile-cache-file
|
|
||||||
(concat user-emacs-directory "data/projectile.cache"))
|
|
||||||
|
|
||||||
(projectile-mode)
|
|
||||||
|
|
||||||
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
|
|
||||||
|
|
||||||
(setq projectile-completion-system 'ivy)
|
|
||||||
|
|
||||||
(add-to-list 'projectile-project-root-files "yarn.lock")
|
|
||||||
(add-to-list 'projectile-project-root-files "fabfile.py")
|
|
||||||
|
|
||||||
;; (with-eval-after-load 'server
|
;; (with-eval-after-load 'server
|
||||||
;; (diminish 'server-buffer-clients
|
;; (diminish 'server-buffer-clients
|
||||||
;; (propertize (concat " " (char-to-string #xf233))
|
;; (propertize (concat " " (char-to-string #xf233))
|
||||||
|
|
Loading…
Reference in a new issue