imalison:start-ansi-term

This commit is contained in:
Ivan Malison 2015-08-18 23:13:09 -07:00
parent 7267119e52
commit f5d1d7a695

View File

@ -503,9 +503,15 @@ The current directory is assumed to be the project's root otherwise."
(bind-key "C-(" 'sp-backward-slurp-sexp smartparens-mode-map) (bind-key "C-(" 'sp-backward-slurp-sexp smartparens-mode-map)
(bind-key "C-{" 'sp-backward-barf-sexp smartparens-mode-map))) (bind-key "C-{" 'sp-backward-barf-sexp smartparens-mode-map)))
(defun imalison:start-ansi-term ()
(interactive)
(ansi-term (getenv "SHELL")))
(imalison:prefix-alternative imalison:term imalison:start-ansi-term ansi-term)
(use-package term (use-package term
:config :config
(progn (add-hook 'term-mode-hook 'imalison:disable-linum-mode))) (progn
(add-hook 'term-mode-hook 'imalison:disable-linum-mode)))
;; Set path from shell. ;; Set path from shell.
(use-package exec-path-from-shell (use-package exec-path-from-shell