automatically remove trailing whitespaces, add last newline at eof and add magit to installed packages
This commit is contained in:
parent
782c792a7f
commit
72d4c9b53a
1 changed files with 12 additions and 1 deletions
|
@ -17,12 +17,23 @@
|
||||||
;; use space instead of tabs
|
;; use space instead of tabs
|
||||||
(setq-default indent-tabs-mode nil)
|
(setq-default indent-tabs-mode nil)
|
||||||
|
|
||||||
|
;; delete trailing whitespaces before saving
|
||||||
|
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
||||||
|
|
||||||
|
;; add newlines at eof
|
||||||
|
(setq require-final-newline t)
|
||||||
|
;; (setq mode-require-final-newline t)
|
||||||
|
|
||||||
;; theme
|
;; theme
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
|
;; custom-set-variables was added by Custom.
|
||||||
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
;; Your init file should contain only one such instance.
|
||||||
|
;; If there is more than one, they won't work right.
|
||||||
'(column-number-mode t)
|
'(column-number-mode t)
|
||||||
'(custom-enabled-themes (quote (tango-dark)))
|
'(custom-enabled-themes (quote (tango-dark)))
|
||||||
'(menu-bar-mode nil)
|
'(menu-bar-mode nil)
|
||||||
'(package-selected-packages (quote (pass pinentry)))
|
'(package-selected-packages (quote (magit pass pinentry)))
|
||||||
'(scroll-bar-mode nil)
|
'(scroll-bar-mode nil)
|
||||||
'(show-paren-mode t)
|
'(show-paren-mode t)
|
||||||
'(tool-bar-mode nil))
|
'(tool-bar-mode nil))
|
||||||
|
|
Loading…
Reference in a new issue