no wonder that wasnt working
This commit is contained in:
parent
19374f6c07
commit
7b29e6e7c7
|
@ -13,6 +13,15 @@
|
|||
(unless (server-running-p) (server-start))
|
||||
#+end_src
|
||||
|
||||
** Disable Auto-Save and Backup
|
||||
|
||||
*** (I don't like having ~#file#~ and ~file~~ everywhere in my directories)
|
||||
|
||||
#+begin_src
|
||||
(setq auto-save-default nil)
|
||||
(setq make-backup-files nil)
|
||||
#+end_src
|
||||
|
||||
** No Scratch On Open
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
@ -25,15 +34,10 @@
|
|||
(kill-buffer "*scratch*"))))
|
||||
#+end_src
|
||||
|
||||
** Fix Indents
|
||||
** Fix Indents + Enable Autopairs
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(electric-indent-mode 1)
|
||||
#+end_src
|
||||
|
||||
** Autopairs
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(electric-pair-mode 1)
|
||||
#+end_src
|
||||
|
||||
|
@ -79,7 +83,7 @@
|
|||
|
||||
#+begin_src emacs-lisp
|
||||
(setq use-short-answers t)
|
||||
#+end_src emacs-lisp
|
||||
#+end_src
|
||||
|
||||
* Package Management
|
||||
|
||||
|
@ -325,9 +329,9 @@
|
|||
#+begin_src emacs-lisp
|
||||
;; Inhibits autopairs from running for <> in org mode
|
||||
(add-hook 'org-mode-hook
|
||||
(lambda ()
|
||||
(setq-local electric-pair-inhibit-predicate
|
||||
`(lambda (c) (if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
||||
(lambda ()
|
||||
(setq-local electric-pair-inhibit-predicate
|
||||
`(lambda (c) (if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
||||
|
||||
(require 'org-tempo)
|
||||
(add-to-list 'org-modules 'org-tempo t)
|
||||
|
|
Loading…
Reference in a new issue