automatically remove trailing whitespaces, add last newline at eof and add magit to installed packages

This commit is contained in:
finga 2018-05-22 09:40:19 +02:00
parent 782c792a7f
commit 72d4c9b53a

View file

@ -17,12 +17,23 @@
;; use space instead of tabs
(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
(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)
'(custom-enabled-themes (quote (tango-dark)))
'(menu-bar-mode nil)
'(package-selected-packages (quote (pass pinentry)))
'(package-selected-packages (quote (magit pass pinentry)))
'(scroll-bar-mode nil)
'(show-paren-mode t)
'(tool-bar-mode nil))