diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-02-22 13:52:53 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-02-22 13:53:23 -0800 |
commit | 7cfa9075abab2e9cab27cf56194f066b259f6461 (patch) | |
tree | 717185016e089a0e3a77633f4fbe7b42d6e34545 /emacs.d | |
parent | [emacs] a few updates to org configuration (diff) | |
download | emacs.d-7cfa9075abab2e9cab27cf56194f066b259f6461.tar.gz |
[emacs] code cleanup
Diffstat (limited to '')
-rw-r--r-- | emacs.d/core/core-default.el | 28 | ||||
-rw-r--r-- | emacs.d/core/core-editor.el | 6 |
2 files changed, 11 insertions, 23 deletions
diff --git a/emacs.d/core/core-default.el b/emacs.d/core/core-default.el index a3076eb..42c4120 100644 --- a/emacs.d/core/core-default.el +++ b/emacs.d/core/core-default.el @@ -4,26 +4,16 @@ ;; set utf-8 as the default encoding (prefer-coding-system 'utf-8-unix) -(setq auto-save-default nil) - -(setq auto-save-list-file-prefix nil) - -;; *no* backups -(setq make-backup-files nil) - -;; always add a newline -(setq require-final-newline t) - -;; follow symlinks -(setq vc-follow-symlinks t) - -;; navigation -(setq next-screen-context-lines 5) - -(setq tab-always-indent 'complete) - (global-auto-revert-mode 1) -(setq-default indent-tabs-mode nil) +(setq + auto-save-default nil + auto-save-list-file-prefix nil + make-backup-files nil + require-final-newline t + vc-follow-symlinks t + next-screen-context-lines 5 + tab-always-indent 'complete + indent-tabs-mode nil) (provide 'core-default) diff --git a/emacs.d/core/core-editor.el b/emacs.d/core/core-editor.el index ebf47c3..a642e30 100644 --- a/emacs.d/core/core-editor.el +++ b/emacs.d/core/core-editor.el @@ -1,7 +1,6 @@ (use-package swiper :ensure t - :bind ( - ("C-s" . swiper)) + :bind (("C-s" . swiper)) :config (setq ivy-use-virtual-buffers t) (ivy-mode)) @@ -21,8 +20,7 @@ (use-package dired :commands dired :init - (setq dired-listing-switches - "-laGhv")) + (setq dired-listing-switches "-laGhv")) (use-package ag :ensure t |