(Emacs)~minor fixes and changes

This commit is contained in:
2020-09-29 17:26:59 +01:00
parent 85decc9f11
commit d69deba256

View File

@@ -269,7 +269,6 @@ moment), bind to general some basic binds.
:straight nil :straight nil
:general :general
(general-def (general-def
:states 'normal
"C-x d" #'delete-frame)) "C-x d" #'delete-frame))
(use-package simple (use-package simple
@@ -912,8 +911,11 @@ the projectile command map for quick access.
(projectile-mode)) (projectile-mode))
#+end_src #+end_src
*** Counsel projectile *** Counsel projectile
:PROPERTIES:
:header-args:emacs-lisp: :tangle no
:END:
Counsel projectile provides the ivy interface to projectile commands, which is really useful. Counsel projectile provides the ivy interface to projectile commands, which is really useful.
#+begin_src emacs-lisp :tangle no #+begin_src emacs-lisp
(use-package counsel-projectile (use-package counsel-projectile
:after (projectile counsel) :after (projectile counsel)
:config :config
@@ -1539,10 +1541,7 @@ results to the client, done through JSON.
"r" #'eglot-rename "r" #'eglot-rename
"R" #'eglot-reconnect) "R" #'eglot-reconnect)
:init :init
(setq eglot-stay-out-of '(flymake)) (setq eglot-stay-out-of '(flymake)))
(defun project-root (PROJECT)
"Return the single root of a project."
(car (project-roots PROJECT))))
#+end_src #+end_src
*** Flycheck *** Flycheck
Flycheck is the checking system for Emacs. I don't necessarily like Flycheck is the checking system for Emacs. I don't necessarily like