From 8b3e53327034d3ea6ff6cfda802fc9568f21fd1e Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 4 Dec 2022 08:05:58 +0200 Subject: Update vterm keys --- .emacs.d/init.el | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to '.emacs.d/init.el') 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 "]*>" "") - (css-mode "]*>" ""))) - (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. -- cgit v1.2.3