summaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--settings/sane-defaults.el3
-rw-r--r--settings/setup-flycheck.el2
2 files changed, 5 insertions, 0 deletions
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)