82ecd61f5c
Change-Id: I6c6847fac56f0a9a1a2209792e00a3aec5e672b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10809 Autosubmit: aspen <root@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
24 lines
554 B
EmacsLisp
24 lines
554 B
EmacsLisp
;;; -*- lexical-binding: t; -*-
|
|
|
|
(defun require-vterm ()
|
|
(add-to-list
|
|
'load-path
|
|
(concat
|
|
(s-trim
|
|
(shell-command-to-string
|
|
"nix-build --no-out-link ~/code/depot -A third_party.emacs.vterm"))
|
|
"/share/emacs/site-lisp/elpa/vterm-20200515.1412"))
|
|
(require 'vterm))
|
|
|
|
(defun +grfn/vterm-setup ()
|
|
(hide-mode-line-mode)
|
|
(setq-local evil-collection-vterm-send-escape-to-vterm-p t))
|
|
|
|
(add-hook 'vterm-mode-hook #'+grfn/vterm-setup)
|
|
|
|
(map! (:map vterm-mode-map
|
|
"<C-escape>" #'evil-normal-state))
|
|
|
|
(comment
|
|
(require-vterm)
|
|
)
|