dotfiles/emacs/.emacs.d/config/init-vterm.el
Jeremy Dormitzer 3ab0fb9673 Add vterm
2021-02-21 08:20:05 -05:00

15 lines
365 B
EmacsLisp

(use-package vterm
:commands vterm
:init
(defun project-vterm ()
(interactive)
(if (projectile-project-root)
(call-interactively #'projectile-run-vterm)
(call-interactively #'vterm)))
:config
(add-hook 'vterm-mode-hook (lambda () (display-line-numbers-mode -1)))
:general
(leader-map "v" #'project-vterm))
(provide 'init-vterm)