Files
.emacs.d/modules/siren-perspective.el

55 lines
1.1 KiB
EmacsLisp
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;;; 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