mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(shell): improve vterm-mode configuration
- Enable switching windows with my custom M-i, M-k, M-j, and M-l windmove keybindings - Disable hl-line-mode for vterm buffers. The hl-line would constantly flicker in an annoying manner while typing.
This commit is contained in:
@@ -6,9 +6,25 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'siren-windmove)
|
||||
|
||||
(use-package vterm
|
||||
:hook
|
||||
(vterm-mode . siren-vterm-mode-setup)
|
||||
|
||||
:bind
|
||||
(:map vterm-mode-map
|
||||
("M-i" . siren-windmove-up)
|
||||
("M-k" . siren-windmove-down)
|
||||
("M-j" . siren-windmove-left)
|
||||
("M-l" . siren-windmove-right))
|
||||
|
||||
:custom
|
||||
(vterm-always-compile-module t))
|
||||
(vterm-always-compile-module t)
|
||||
|
||||
:init
|
||||
(defun siren-vterm-mode-setup ()
|
||||
(hl-line-mode -1)))
|
||||
|
||||
(provide 'siren-vterm)
|
||||
;;; siren-vterm.el ends here
|
||||
|
||||
Reference in New Issue
Block a user