Move normal and sh indent config to correct use-package blocks
This commit is contained in:
parent
1010f25774
commit
ab7f633220
@ -1,11 +1,4 @@
|
|||||||
;;; Emacs Config
|
;;; 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
|
;;;; various options
|
||||||
(setq read-file-name-completion-ignore-case t
|
(setq read-file-name-completion-ignore-case t
|
||||||
inhibit-startup-screen t
|
inhibit-startup-screen t
|
||||||
@ -55,6 +48,16 @@
|
|||||||
(bind-key "s-t" 'open-thunar-in-current-directory)
|
(bind-key "s-t" 'open-thunar-in-current-directory)
|
||||||
|
|
||||||
;;;; internal packages
|
;;;; 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
|
(use-package ibuffer
|
||||||
:bind ("C-x C-b" . ibuffer)
|
:bind ("C-x C-b" . ibuffer)
|
||||||
:config
|
:config
|
||||||
@ -67,6 +70,10 @@
|
|||||||
(ibuffer-auto-mode 1)
|
(ibuffer-auto-mode 1)
|
||||||
(setq ibuffer-show-empty-filter-groups nil))))
|
(setq ibuffer-show-empty-filter-groups nil))))
|
||||||
|
|
||||||
|
(use-package sgml-mode
|
||||||
|
:config
|
||||||
|
(setq sgml-basic-offset 4))
|
||||||
|
|
||||||
(use-package compile
|
(use-package compile
|
||||||
:commands (compile recompile)
|
:commands (compile recompile)
|
||||||
:bind (("C-z" . recompile)
|
:bind (("C-z" . recompile)
|
||||||
|
Loading…
Reference in New Issue
Block a user