summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-01-24 01:07:03 +0800
committerJSDurand <mmemmew@gmail.com>2021-01-24 01:09:46 +0800
commit4108bfb79643248821fb1d62cae9a4ac7146f1bc (patch)
tree82e39d3c1758ef5f762d094a89ba1cc80a959026
parent2066e827155ae2893097360024ffd975166a44ef (diff)
Adding transposing frame capability
* init.el ("transpose-frame"): Use the package.
-rw-r--r--init.el6
-rw-r--r--tab-conf.el1
2 files changed, 7 insertions, 0 deletions
diff --git a/init.el b/init.el
index f970516..1d238d2 100644
--- a/init.el
+++ b/init.el
@@ -199,6 +199,12 @@ If FUNCTION-NAME is already a valid function, this won't do anything."
(load-config "search-conf.el")
+;;; Transpose frame
+
+(use-package "transpose-frame" 'transpose-frame
+ (define-key global-map (vector ?\C-\s-r) #'rotate-frame-clockwise)
+ (define-key global-map (vector ?\C-\s-t) #'transpose-frame))
+
;;; server
;; (cond
diff --git a/tab-conf.el b/tab-conf.el
index 5f9cf83..99f423d 100644
--- a/tab-conf.el
+++ b/tab-conf.el
@@ -7,6 +7,7 @@
(define-key tab-prefix-map (vector 'tab) 'tab-switcher)
(define-key global-map (vector ?\s-t) #'durand-switch-tab-dwim)
+(define-key global-map (vector ?\s-T) #'tab-switcher)
;;;###autoload
(defun durand-switch-tab-dwim (&optional arg)