mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
55 lines
1.1 KiB
EmacsLisp
55 lines
1.1 KiB
EmacsLisp
;;; siren-perspective.el --- jimeh's Emacs Siren: perspective configuration.
|
||
|
||
;;; Commentary:
|
||
|
||
;; Basic configuration for perspective.
|
||
|
||
;;; Code:
|
||
|
||
(use-package perspective
|
||
:bind
|
||
("C-z" . perspective-map)
|
||
|
||
("C-z z" . persp-switch)
|
||
("C-z C-z" . persp-switch)
|
||
("C-z c" . persp-switch)
|
||
("C-z C-c" . persp-switch)
|
||
("C-z s" . persp-switch)
|
||
("C-z C-s" . persp-switch)
|
||
("C-z b" . persp-switch)
|
||
("C-z C-b" . persp-switch)
|
||
|
||
("C-z l" . persp-switch-last)
|
||
("C-z C-l" . persp-switch-last)
|
||
|
||
("C-z c" . persp-remove-buffer)
|
||
("C-z C-c" . persp-remove-buffer)
|
||
|
||
("C-z k" . persp-kill)
|
||
("C-z C-k" . persp-kill)
|
||
|
||
("C-z r" . persp-rename)
|
||
("C-z C-r" . persp-rename)
|
||
|
||
("C-z a" . persp-add-buffer)
|
||
("C-z C-a" . persp-add-buffer)
|
||
|
||
("C-z i" . persp-import)
|
||
("C-z C-i" . persp-import)
|
||
|
||
("C-z n" . persp-next)
|
||
("C-z C-n" . persp-next)
|
||
("C-z p" . persp-prev)
|
||
("C-z C-p" . persp-prev)
|
||
|
||
:config
|
||
(setq persp-mode-prefix-key ""
|
||
persp-initial-frame-name "0:main")
|
||
|
||
(persp-mode)
|
||
(custom-set-faces
|
||
'(persp-selected-face ((t (:foreground "#d97a35" :weight bold))))))
|
||
|
||
(provide 'siren-perspective)
|
||
;;; siren-perspective.el ends here
|