Add vterm

This commit is contained in:
Jeremy Dormitzer 2021-02-21 08:20:05 -05:00
parent 623e270f49
commit 3ab0fb9673
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
(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)

View File

@ -68,6 +68,7 @@
(require 'init-projects)
(require 'init-git)
(require 'init-ide)
(require 'init-vterm)
(require 'init-eshell)
(require 'init-help)
(require 'init-python)