mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Use direnv
This commit is contained in:
parent
f8a879b15a
commit
96bb38bec2
15
init.org
15
init.org
@ -189,6 +189,7 @@
|
||||
dashboard ; A startup screen extracted from Spacemacs
|
||||
define-word ; display the definition of word at point
|
||||
diff-hl ; Highlight uncommitted changes using VC
|
||||
direnv ; direnv integration
|
||||
doom-themes ; An opinionated pack of modern color-themes
|
||||
erlang ; Erlang major mode
|
||||
expand-region ; Increase selected region by semantic units
|
||||
@ -605,6 +606,20 @@
|
||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
||||
#+END_SRC
|
||||
|
||||
** Direnv
|
||||
|
||||
I use [[https://direnv.net][direnv]] in combination with [[https://nixos.org][nix]] to allow for programs to only be
|
||||
available in certain directories. The [[https://github.com/wbolster/emacs-direnv][emacs-direnv]] makes Emacs play nice
|
||||
with direnv, so that it for instance can detect a language server that is
|
||||
only available within some project. The =direnv-always-show-summary= is set
|
||||
to =nil= to avoid having long messages pop up in the messages buffer
|
||||
whenever I enter a directory that interacts with direnv.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(direnv-mode 1)
|
||||
(setq direnv-always-show-summary nil)
|
||||
#+end_src
|
||||
|
||||
** Email
|
||||
|
||||
I've used Emacs for email in the past, where I've always had the need for a
|
||||
|
Loading…
Reference in New Issue
Block a user