tools/term: rename commands for consistency

This commit is contained in:
Henrik Lissner 2017-09-27 14:49:19 +02:00
parent e04bdc70d7
commit 525bbd3fdf
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 6 additions and 6 deletions

View file

@ -235,8 +235,8 @@
:desc "REPL" :n "r" #'+eval/repl
:v "r" #'+eval:repl
:desc "Neotree" :n "n" #'+neotree/toggle
:desc "Terminal" :n "t" #'+term/popup
:desc "Terminal in project" :n "T" #'+term/popup-in-project
:desc "Terminal" :n "t" #'+term/open-popup
:desc "Terminal in project" :n "T" #'+term/open-popup-in-project
;; applications
:desc "APP: elfeed" :n "E" #'=rss
@ -260,7 +260,7 @@
:desc "Switch project" :n "p" #'projectile-switch-project
:desc "Recent project files" :n "r" #'projectile-recentf
:desc "List project tasks" :n "t" #'+ivy/tasks
:desc "Pop term in project" :n "o" #'+term/popup-in-project
:desc "Pop term in project" :n "o" #'+term/open-popup-in-project
:desc "Invalidate cache" :n "x" #'projectile-invalidate-cache)
(:desc "quit" :prefix "q"

View file

@ -1,7 +1,7 @@
;;; tools/term/autoload.el -*- lexical-binding: t; -*-
;;;###autoload
(defun +term (&optional project-root)
(defun +term/open (&optional project-root)
"Open a terminal buffer in the current window. If PROJECT-ROOT (C-u) is
non-nil, cd into the current project's root."
(interactive "P")
@ -9,7 +9,7 @@ non-nil, cd into the current project's root."
(call-interactively #'multi-term)))
;;;###autoload
(defun +term/popup (&optional project-root)
(defun +term/open-popup (&optional project-root)
"Open a terminal popup window. If PROJECT-ROOT (C-u) is non-nil, cd into the
current project's root."
(interactive "P")
@ -21,7 +21,7 @@ current project's root."
(multi-term-internal)))
;;;###autoload
(defun +term/popup-in-project ()
(defun +term/open-popup-in-project ()
"Open a terminal popup window in the root of the current project."
(interactive)
(+term/popup t))