summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2022-11-09 08:02:22 -0500
committerMatthew Kosarek <mattkae@protonmail.com>2022-11-09 08:02:22 -0500
commit5270f0e00daea72a8db39f1afcde984904060783 (patch)
treecc4e5647f8cff6fd1692fed682af5b885ade90bd
parent80b0697bd85d275263eeacf57e6310116afa3dd8 (diff)
Two great changes
-rw-r--r--lisp/general.el8
-rw-r--r--lisp/web.el1
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 23502f3..7dd50f8 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -49,9 +49,14 @@
;; TODO: Evil mode is disabled for now
;; (require 'evil)
;; (setq evil-want-fine-undo t)
+
+;; Highlight todos
(require 'hl-todo)
(global-hl-todo-mode 1)
+;; Delete highlighted selection
+(delete-selection-mode 1)
+
;; Projectile for project navigation
(require 'projectile)
(projectile-mode +1)
@@ -242,7 +247,7 @@
(defun my-vterm-mode-set-colors()
"Set the colors of vterm to match my personal taste."
(setq-local global-hl-line-mode nil)
- (turn-off-evil-mode)
+ ;(turn-off-evil-mode)
(linum-mode -1)
(setq left-fringe-width 0)
(setq right-fringe-width 0)
@@ -253,6 +258,7 @@
(add-hook 'vterm-mode-hook 'my-vterm-mode-set-colors)
;; Line movement
+(require 'drag-stuff)
(drag-stuff-global-mode)
(drag-stuff-define-keys)
diff --git a/lisp/web.el b/lisp/web.el
index d507f77..b076147 100644
--- a/lisp/web.el
+++ b/lisp/web.el
@@ -92,6 +92,7 @@
(cl-pushnew '((js-mode typescript-mode) . ("typescript-language-server" "--stdio"))
eglot-server-programs
:test #'equal)
+(set-face-background 'eglot-highlight-symbol-face "lemon chiffon")
;; Ignore certain directories in projectile
(require 'projectile)