diff options
| -rw-r--r-- | init.el | 7 | ||||
| -rw-r--r-- | settings/sane-defaults.el | 3 | ||||
| -rw-r--r-- | settings/setup-flycheck.el | 2 |
3 files changed, 12 insertions, 0 deletions
@@ -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 "<f2>") 'flyspell-auto-correct-previous-word) + (provide 'setup-flycheck) |
