Enable editorconfig-mode
This commit is contained in:
parent
926f144d6a
commit
c70a9897e8
@ -1002,15 +1002,14 @@ Sets environment variables by starting a shell
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** hydra
|
*** hydra
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package hydra
|
(use-package hydra :commands defhydra)
|
||||||
:config
|
|
||||||
(progn
|
(defhydra hydra-font-resize
|
||||||
(defhydra hydra-font-resize
|
|
||||||
(global-map "C-M-=")
|
(global-map "C-M-=")
|
||||||
"font-resize"
|
"font-resize"
|
||||||
("-" imalison:font-size-decr "Decrease")
|
("-" imalison:font-size-decr "Decrease")
|
||||||
("=" imalison:font-size-incr "Increase")
|
("=" imalison:font-size-incr "Increase")
|
||||||
("0" imalison:font-size-reset "Reset to default size"))))
|
("0" imalison:font-size-reset "Reset to default size"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** org
|
** org
|
||||||
*** main
|
*** main
|
||||||
@ -2385,11 +2384,13 @@ I don't use iedit directly, but it is used by [[*emr][emr]] and I need to disabl
|
|||||||
(define-key ctl-x-4-map "nd" 'ni-narrow-to-defun-indirect-other-window)
|
(define-key ctl-x-4-map "nd" 'ni-narrow-to-defun-indirect-other-window)
|
||||||
(define-key ctl-x-4-map "nn" 'ni-narrow-to-region-indirect-other-window)
|
(define-key ctl-x-4-map "nn" 'ni-narrow-to-region-indirect-other-window)
|
||||||
(define-key ctl-x-4-map "np" 'ni-narrow-to-page-indirect-other-window)))
|
(define-key ctl-x-4-map "np" 'ni-narrow-to-page-indirect-other-window)))
|
||||||
|
#+END_SRC
|
||||||
(use-package editorconfig
|
*** editorconfig
|
||||||
:commands edconf-find-file-hook
|
#+BEGIN_SRC emacs-lisp
|
||||||
:demand t)
|
(use-package editorconfig
|
||||||
|
:config
|
||||||
|
(progn
|
||||||
|
(editorconfig-mode 1)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** dtrt-indent
|
*** dtrt-indent
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -2416,7 +2417,6 @@ I don't use iedit directly, but it is used by [[*emr][emr]] and I need to disabl
|
|||||||
:init
|
:init
|
||||||
(progn
|
(progn
|
||||||
(add-hook 'prog-mode-hook (lambda () (rainbow-delimiters-mode t)))))
|
(add-hook 'prog-mode-hook (lambda () (rainbow-delimiters-mode t)))))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** company
|
*** company
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -2447,7 +2447,6 @@ I don't use iedit directly, but it is used by [[*emr][emr]] and I need to disabl
|
|||||||
;;(setq undo-tree-visualizer-diff t) ;; This causes performance problems
|
;;(setq undo-tree-visualizer-diff t) ;; This causes performance problems
|
||||||
(global-undo-tree-mode)
|
(global-undo-tree-mode)
|
||||||
(setq undo-tree-visualizer-timestamps t)))
|
(setq undo-tree-visualizer-timestamps t)))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** recentf
|
*** recentf
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -2457,7 +2456,6 @@ I don't use iedit directly, but it is used by [[*emr][emr]] and I need to disabl
|
|||||||
(progn
|
(progn
|
||||||
(recentf-mode 1)
|
(recentf-mode 1)
|
||||||
(setq recentf-max-menu-items 500)))
|
(setq recentf-max-menu-items 500)))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** restclient
|
*** restclient
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user