From 348dc0c4b3becf5c71598fd746a5dddc8ac75bd1 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 18 Apr 2019 16:59:36 +0900 Subject: [PATCH] Move --- emacs.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/emacs.el b/emacs.el index e122b94..b844903 100644 --- a/emacs.el +++ b/emacs.el @@ -827,6 +827,7 @@ found, otherwise returns nil." ;; recently (when (safe-require-or-eval 'recently) + (define-key ctl-x-map (kbd "C-r") 'recently-show) (set-variable 'recently-max 1000) (recently-mode 1)) @@ -1819,6 +1820,9 @@ ARG is num to show, or defaults to 7." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; misc funcs +(define-key ctl-x-map "T" 'git-worktree) +(define-key ctl-x-map "W" 'git-walktree) + (when (fboundp 'browse-url-default-macosx-browser) (defalias 'browse-osx 'browse-url-default-macosx-browser)) @@ -2013,10 +2017,6 @@ and search from projectile root (if projectile is available)." (interactive "sText to Push: ") (pb/push-item '("") text "note" (or title ""))) -;; TODO: Move -(define-key ctl-x-map (kbd "C-r") 'recently-show) -(define-key ctl-x-map "T" 'git-worktree) -(define-key ctl-x-map "W" 'git-walktree)