diff options
author | mattkae <mattkae@protonmail.com> | 2022-12-23 12:05:28 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-12-23 12:05:28 -0500 |
commit | 45e9697c549c14d2144ba4cb938adc454e8fb9cc (patch) | |
tree | dd4b3228444f68b13304aa861da1f1317f62f1b7 | |
parent | 1be2ef27892265e03d154114204af3afa0ef2354 (diff) |
Fix for exceptions
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | init.el | 2 | ||||
-rw-r--r-- | lisp/general.el | 7 |
3 files changed, 9 insertions, 4 deletions
@@ -10,4 +10,6 @@ projects projectile.cache ido.last transient -recentf
\ No newline at end of file +recentf +url +tutorial
\ No newline at end of file @@ -48,7 +48,7 @@ (require 'doom-themes) (load-theme 'modus-operandi t) (doom-themes-org-config) -;; (setq debug-on-error t) Uncomment if you would like to debug errors! +; (setq debug-on-error t) ; Uncomment if you would like to debug errors! (require 'general) (require 'cpp) 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) |