forked from colonelpanic/dotfiles
force-new-term
This commit is contained in:
parent
862d4c7c49
commit
0347baecdb
@ -616,7 +616,11 @@ The current directory is assumed to be the project's root otherwise."
|
|||||||
(interactive)
|
(interactive)
|
||||||
(switch-to-buffer (imalison:term-buffer default-directory)))
|
(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
|
:config
|
||||||
(progn
|
(progn
|
||||||
(add-hook 'term-mode-hook 'imalison:disable-linum-mode)
|
(add-hook 'term-mode-hook 'imalison:disable-linum-mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user