aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-07-25 13:36:15 +0200
committerYann Herklotz <git@yannherklotz.com>2019-07-25 13:36:15 +0200
commitdfb23ca0c5224329f72a68c32311e464606267c0 (patch)
tree03dea2a7a2d5e171f401d9c68225d0515b0f55f0 /emacs
parent524a254e1b0e10062184ee87c135e7a7e3879db5 (diff)
downloaddotfiles-dfb23ca0c5224329f72a68c32311e464606267c0.tar.gz
dotfiles-dfb23ca0c5224329f72a68c32311e464606267c0.zip
Add nix and new indent offset
Diffstat (limited to 'emacs')
-rw-r--r--emacs/loader.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs/loader.org b/emacs/loader.org
index fff56c6..d4dc04d 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -261,6 +261,7 @@ preferred style. This is just personal preference though.
#+BEGIN_SRC emacs-lisp
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
+ (setq tab-width 4)
(defvaralias 'python-indent-offset 'tab-width)
(defvaralias 'c-basic-offset 'tab-width)
#+END_SRC
@@ -654,6 +655,16 @@ incrementally selecting more and more of the text.
(use-package yasnippet-snippets)
#+END_SRC
+** Nix
+
+#+BEGIN_SRC emacs-lisp
+ (use-package direnv
+ :config
+ (direnv-mode))
+#+END_SRC
+
+#+RESULTS:
+
* Writing
#+BEGIN_SRC emacs-lisp