summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2018-12-03 21:06:31 -0800
committerbenj <benj@rse8.com>2018-12-03 21:06:31 -0800
commit9def383a41abf5f4f8a63505482cbe2dfdcc10ec (patch)
tree132092f3f1e865b89ca22e17d6a51a86a894a910
parentbee8e346c9c4f50de04fb080e78f077df39a7313 (diff)
downloademacs-9def383a41abf5f4f8a63505482cbe2dfdcc10ec.tar
emacs-9def383a41abf5f4f8a63505482cbe2dfdcc10ec.tar.gz
emacs-9def383a41abf5f4f8a63505482cbe2dfdcc10ec.tar.bz2
emacs-9def383a41abf5f4f8a63505482cbe2dfdcc10ec.tar.lz
emacs-9def383a41abf5f4f8a63505482cbe2dfdcc10ec.tar.xz
emacs-9def383a41abf5f4f8a63505482cbe2dfdcc10ec.tar.zst
emacs-9def383a41abf5f4f8a63505482cbe2dfdcc10ec.zip
dired-omit-mode; <f2> auto-correct;
Diffstat (limited to '')
-rw-r--r--init.el7
-rw-r--r--settings/sane-defaults.el3
-rw-r--r--settings/setup-flycheck.el2
3 files changed, 12 insertions, 0 deletions
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 "<f2>") 'flyspell-auto-correct-previous-word)
+
(provide 'setup-flycheck)