From 7cfa9075abab2e9cab27cf56194f066b259f6461 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 22 Feb 2016 13:52:53 -0800 Subject: [emacs] code cleanup --- emacs.d/core/core-default.el | 28 +++++++++------------------- emacs.d/core/core-editor.el | 6 ++---- 2 files changed, 11 insertions(+), 23 deletions(-) (limited to 'emacs.d/core') 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 -- cgit 1.4.1