Move normal and sh indent config to correct use-package blocks

This commit is contained in:
Adam Goldsmith 2019-01-20 02:28:12 -05:00
parent 1010f25774
commit ab7f633220
1 changed files with 14 additions and 7 deletions

View File

@ -1,11 +1,4 @@
;;; Emacs Config
;;;; indentation
(setq sgml-basic-offset 4
standard-indent 2)
(setq-default tab-width 4
indent-tabs-mode nil)
(add-hook 'sh-mode-hook (lambda () (setq tab-width 4)))
;;;; various options
(setq read-file-name-completion-ignore-case t
inhibit-startup-screen t
@ -55,6 +48,16 @@
(bind-key "s-t" 'open-thunar-in-current-directory)
;;;; internal packages
(use-package indent
(setq standard-indent 2)
(setq-default tab-width 4
indent-tabs-mode nil))
(use-package sh-script
:defer
:config
(add-hook 'sh-mode-hook (lambda () (setq tab-width 4))))
(use-package ibuffer
:bind ("C-x C-b" . ibuffer)
:config
@ -67,6 +70,10 @@
(ibuffer-auto-mode 1)
(setq ibuffer-show-empty-filter-groups nil))))
(use-package sgml-mode
:config
(setq sgml-basic-offset 4))
(use-package compile
:commands (compile recompile)
:bind (("C-z" . recompile)