From 87815fa100a51900e67ee2e563b9c737c97fa5ce Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 29 May 2018 23:00:26 -0700 Subject: [PATCH 1/2] [Emacs] Use nix-indent-line --- dotfiles/emacs.d/README.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 4f3150d3..0049c23b 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2528,7 +2528,10 @@ eval-last-sexp. #+END_SRC *** nix #+BEGIN_SRC emacs-lisp -(use-package nix-mode) +(use-package nix-mode + :config + (progn + (setq nix-indent-function 'nix-indent-line))) #+END_SRC *** clojure The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877bea582fed72bbca0dc1f80fcb2ec0e6d5/layers/+lang/clojure/funcs.el#L30][spacemacs]]. It adds fancification to a clojure mode. From eaa938650572cff52d4e02d0ad0a31e4dc07d1f1 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 30 May 2018 11:23:43 -0700 Subject: [PATCH 2/2] Link dotfiles with rcm --- rcm-link.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 rcm-link.sh diff --git a/rcm-link.sh b/rcm-link.sh new file mode 100755 index 00000000..f9154001 --- /dev/null +++ b/rcm-link.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + + +export THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +export DOTFILES_DIR="$(readlink -f $THIS_DIR/dotfiles)" + +echo $DOTFILES_DIR +rcup -d $DOTFILES_DIR -S "emacs.d" -S "config/taffybar" -S "config/xmonad" -S "config/xmonad/taffybar"