summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-12-23 12:05:28 -0500
committermattkae <mattkae@protonmail.com>2022-12-23 12:05:28 -0500
commit45e9697c549c14d2144ba4cb938adc454e8fb9cc (patch)
treedd4b3228444f68b13304aa861da1f1317f62f1b7 /lisp
parent1be2ef27892265e03d154114204af3afa0ef2354 (diff)
Fix for exceptions
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 76930d1..bc34527 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -12,6 +12,9 @@
kept-old-versions 2
version-control t)
+;; Initial major mode
+(setq initial-major-mode 'text-mode)
+
;; Auto revert mode to reload disk
(global-auto-revert-mode 1)
@@ -26,7 +29,7 @@
(interactive)
(load-file user-init-file))
-(global-set-key (kbd "C-c C-l") 'reload-init-file)
+(global-set-key (kbd "C-c C-l") 'reload-init-file)
;; Tab mode
(global-tab-line-mode t)
@@ -104,7 +107,7 @@
;; Ido mode text matching
(require 'ivy)
(ivy-mode 1)
-(setcdr (assoc 'counsel-M-x ivy-initial-inputs-alist) "") ;; Start the searc buffer empty
+(setq ivy-initial-inputs-alist nil)
;; Don't ask to kill when we have an open line number
(setq-default confirm-kill-processes nil)