summaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2022-12-04 08:05:58 +0200
committerThanos Apollo <[email protected]>2022-12-04 08:05:58 +0200
commit8b3e53327034d3ea6ff6cfda802fc9568f21fd1e (patch)
treea6d817911b98b0be8eeff625b50f5ba7f063b891 /.emacs.d/init.el
parentbf388d9b143d7134cadc89f18c715dacbd0d1313 (diff)
Update vterm keys
Diffstat (limited to '.emacs.d/init.el')
-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.