summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/emacs.el
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-03-10 21:21:55 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-03-10 21:21:55 +0100
commite203311de813949dec992b76b04410068768eaf5 (patch)
tree7ab620c96fbb8316b16c7f48546bc7e772bff939 /accounts/gkleen@sif/emacs.el
parent75dfe61a72f41c55b281bc81aa2e8b6e708a6124 (diff)
downloadnixos-e203311de813949dec992b76b04410068768eaf5.tar
nixos-e203311de813949dec992b76b04410068768eaf5.tar.gz
nixos-e203311de813949dec992b76b04410068768eaf5.tar.bz2
nixos-e203311de813949dec992b76b04410068768eaf5.tar.xz
nixos-e203311de813949dec992b76b04410068768eaf5.zip
Diffstat (limited to 'accounts/gkleen@sif/emacs.el')
-rw-r--r--accounts/gkleen@sif/emacs.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el
index d7080e36..c8356bf2 100644
--- a/accounts/gkleen@sif/emacs.el
+++ b/accounts/gkleen@sif/emacs.el
@@ -31,6 +31,13 @@
31(custom-set-variables '(git-gutter:update-interval 2)) 31(custom-set-variables '(git-gutter:update-interval 2))
32(custom-set-variables '(git-gutter:hide-gutter t)) 32(custom-set-variables '(git-gutter:hide-gutter t))
33 33
34;; (require 'scratch)
35(global-set-key (kbd "C-x B") 'scratch-create)
36(setq initial-major-mode 'scratch-mode)
37(setq initial-scratch-message "")
38
39(global-set-key (kbd "C-x K") 'kill-current-buffer)
40
34(setq backup-directory-alist `(("." . "~/.saves"))) 41(setq backup-directory-alist `(("." . "~/.saves")))
35(setq undo-tree-history-directory-alist `(("." . "~/.undo"))) 42(setq undo-tree-history-directory-alist `(("." . "~/.undo")))
36(setq delete-old-versions t 43(setq delete-old-versions t