forked from colonelpanic/dotfiles
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
|
||||
*** hydra
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package hydra
|
||||
:config
|
||||
(progn
|
||||
(defhydra hydra-font-resize
|
||||
(use-package hydra :commands defhydra)
|
||||
|
||||
(defhydra hydra-font-resize
|
||||
(global-map "C-M-=")
|
||||
"font-resize"
|
||||
("-" imalison:font-size-decr "Decrease")
|
||||
("=" 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
|
||||
** org
|
||||
*** main
|
||||
@ -1616,7 +1615,7 @@ I use helm for almost all emacs completion
|
||||
|
||||
(imalison:prefix-alternatives imalison:do-ag helm-projectile-ag
|
||||
imalison:do-ag-default-directory helm-do-ag)
|
||||
|
||||
|
||||
(imalison:prefix-alternatives imalison:projectile-find-file
|
||||
projectile-find-file
|
||||
projectile-find-file-other-window)
|
||||
@ -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 "nn" 'ni-narrow-to-region-indirect-other-window)
|
||||
(define-key ctl-x-4-map "np" 'ni-narrow-to-page-indirect-other-window)))
|
||||
|
||||
(use-package editorconfig
|
||||
:commands edconf-find-file-hook
|
||||
:demand t)
|
||||
|
||||
#+END_SRC
|
||||
*** editorconfig
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package editorconfig
|
||||
:config
|
||||
(progn
|
||||
(editorconfig-mode 1)))
|
||||
#+END_SRC
|
||||
*** dtrt-indent
|
||||
#+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
|
||||
(progn
|
||||
(add-hook 'prog-mode-hook (lambda () (rainbow-delimiters-mode t)))))
|
||||
|
||||
#+END_SRC
|
||||
*** company
|
||||
#+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
|
||||
(global-undo-tree-mode)
|
||||
(setq undo-tree-visualizer-timestamps t)))
|
||||
|
||||
#+END_SRC
|
||||
*** recentf
|
||||
#+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
|
||||
(recentf-mode 1)
|
||||
(setq recentf-max-menu-items 500)))
|
||||
|
||||
#+END_SRC
|
||||
*** restclient
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
Loading…
Reference in New Issue
Block a user