From cec213a0884059e10da585202558254dd6068303 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 13 Feb 2023 09:09:46 +0000 Subject: [PATCH] emacs: add persp-mode, org-clock-today --- etc/emacs.el | 4 ++++ packages.nix | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/etc/emacs.el b/etc/emacs.el index 7f42e9c..d6b23ee 100644 --- a/etc/emacs.el +++ b/etc/emacs.el @@ -247,3 +247,7 @@ (require 'yasnippet) (yas-global-mode 1) + +(global-set-key (kbd "C-x C-b") 'persp-list-buffers) +(customize-set-variable 'persp-mode-prefix-key (kbd "C-")) +(persp-mode) diff --git a/packages.nix b/packages.nix index ed1fa18..20d0c66 100644 --- a/packages.nix +++ b/packages.nix @@ -101,9 +101,9 @@ in { magit git-gutter git-timemachine # Generic smex w3m org-kanban org-brain org-roam use-package - selectrum selectrum-prescient yasnippet + selectrum selectrum-prescient yasnippet org-clock-today # Appearance - zenburn-theme solarized-theme wc-mode + zenburn-theme solarized-theme wc-mode perspective # NixOS company-nixos-options helm-nixos-options ])