summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/init.el23
1 files changed, 11 insertions, 12 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index ef03495..4f92371 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -51,7 +51,7 @@
(column-number-mode)
-(global-display-line-numbers-mode t)
+(global-display-line-numbers-mode 0)
(menu-bar--display-line-numbers-mode-relative)
;;Disable line numbers for some modes
(dolist (mode '(pdf-view-mode-hook
@@ -339,16 +339,9 @@
(setq sgml-quick-keys 'close)
;;html
-(add-hook 'html-mode-hook #'lsp-deferred)
+;(add-hook 'html-mode-hook #'lsp-deferred)
+
-(use-package multi-web-mode
- :config
- (setq mweb-default-major-mode 'html-mode)
- (setq mweb-tags
- '((js-mode "<script[^>]*>" "</script>")
- (css-mode "<style[^>]*>" "</style>")))
- (setq mweb-filename-extensions '("htm" "html" "phtml"))
- (multi-web-global-mode 1))
;;emacs-lisp
@@ -501,7 +494,8 @@
(use-package vterm
:config
- (setq vterm-shell "/bin/zsh"))
+ (setq vterm-shell "/bin/zsh")
+ :bind(("C-c C-v c" . 'vterm-send-stop)))
(use-package eshell
:bind (("C-c e" . 'eshell)))
@@ -510,7 +504,8 @@
:ensure t
:bind (("C-c C-v n" . 'multi-vterm-next)
("C-c C-v p" . 'multi-vterm-prev)
- ("C-c C-v o" . 'multi-vterm)))
+ ("C-c C-v o" . 'multi-vterm)
+ ("C-c C-c" . 'vterm-send-next-key)))
(use-package pdf-tools
:init
@@ -701,6 +696,10 @@
(use-package exwm-firefox-core)
+(use-package consult
+ :ensure t
+ :bind(("M-g g" . consult-goto-line)))
+
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.