From 9def383a41abf5f4f8a63505482cbe2dfdcc10ec Mon Sep 17 00:00:00 2001 From: benj Date: Mon, 3 Dec 2018 21:06:31 -0800 Subject: dired-omit-mode; auto-correct; --- init.el | 7 +++++++ settings/sane-defaults.el | 3 +++ settings/setup-flycheck.el | 2 ++ 3 files changed, 12 insertions(+) diff --git a/init.el b/init.el index bfb0211..27a7b7b 100644 --- a/init.el +++ b/init.el @@ -23,6 +23,13 @@ ;;; ;;; Code: ;; Suppress splash screen + +;; Added by Package.el. This must come before configurations of +;; installed packages. Don't delete this line. If you don't want it, +;; just comment it out by adding a semicolon to the start of the line. +;; You may delete these explanatory comments. +(package-initialize) + (setq inhibit-startup-message t) (add-to-list 'load-path (expand-file-name "settings" user-emacs-directory)) diff --git a/settings/sane-defaults.el b/settings/sane-defaults.el index fb433df..eb3f1c3 100644 --- a/settings/sane-defaults.el +++ b/settings/sane-defaults.el @@ -137,6 +137,9 @@ (shell-command-on-region b e "python -mjson.tool" (current-buffer) t))) +;; Dired Settings +(setq dired-omit-mode t) + ;; Override C-x C-c to open the default ansi-term buffer ;; 0. check if we are in GUI or user want to override behavior ;; 1. check if ansi-term buffer exists diff --git a/settings/setup-flycheck.el b/settings/setup-flycheck.el index 558252b..db93a0e 100644 --- a/settings/setup-flycheck.el +++ b/settings/setup-flycheck.el @@ -7,4 +7,6 @@ '(custom-set-variables '(flycheck-display-errors-function #'flycheck-pos-tip-error-messages))) +(global-set-key (kbd "") 'flyspell-auto-correct-previous-word) + (provide 'setup-flycheck) -- cgit v1.2.3