diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 0041a82d..5bbcab86 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -616,7 +616,11 @@ The current directory is assumed to be the project's root otherwise." (interactive) (switch-to-buffer (imalison:term-buffer default-directory))) - (imalison:prefix-alternatives imalison:term imalison:projectile-term imalison:dir-term)) + (defun imalison:force-new-term () + (interactive) + (switch-to-buffer (imalison:build-term default-directory))) + + (imalison:prefix-alternatives imalison:term imalison:projectile-term imalison:dir-term imalison:force-new-term)) :config (progn (add-hook 'term-mode-hook 'imalison:disable-linum-mode)