From 525bbd3fdf95438e8d093b7d11dffffb42b1720d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 27 Sep 2017 14:49:19 +0200 Subject: [PATCH] tools/term: rename commands for consistency --- modules/private/hlissner/+bindings.el | 6 +++--- modules/tools/term/autoload.el | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/private/hlissner/+bindings.el b/modules/private/hlissner/+bindings.el index 5821c6d5e..a9b2d6d18 100644 --- a/modules/private/hlissner/+bindings.el +++ b/modules/private/hlissner/+bindings.el @@ -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" diff --git a/modules/tools/term/autoload.el b/modules/tools/term/autoload.el index 88bec697a..c1ae1e322 100644 --- a/modules/tools/term/autoload.el +++ b/modules/tools/term/autoload.el @@ -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))