summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--init.el2
-rw-r--r--lisp/general.el7
3 files changed, 9 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index e47ac88..9d08d14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/init.el b/init.el
index 42d5846..ea3be9a 100644
--- a/init.el
+++ b/init.el
@@ -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)