Moved some projectile-settings to :custom.

This commit is contained in:
tastytea 2019-04-10 05:18:54 +02:00
parent 13b4c6ff6f
commit 25accdfbff
2 changed files with 12 additions and 8 deletions

18
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-04-09T00:38:23+00:00>
;; Time-stamp: <2019-04-10T03:04:50+00:00>
;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with
@ -209,14 +209,18 @@
(projectile-kill-buffers)
(tabbar-ruler-group-user-buffers)
(neotree-hide))
:custom
(projectile-project-compilation-dir "build")
(projectile-project-configure-cmd
"cmake -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G 'Unix Makefiles' ..")
;; Use 1 core less than available for compiling.
(projectile-project-compilation-cmd
(concat "cmake --build . -- -j"
(shell-command-to-string "nproc --ignore=1")))
(projectile-switch-project-action 'neotree-projectile-action)
:config
(projectile-mode +1)
(setq projectile-switch-project-action 'neotree-projectile-action
projectile-project-compilation-dir "build"
projectile-project-configure-cmd
"cmake -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G 'Unix Makefiles' .."
projectile-project-compilation-cmd "cmake --build .")
:bind
("C-c p" . 'projectile-command-map)
(:map projectile-command-map

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 6782
127.0.0.1:51313 27153
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh