From 53daa6ec446840511e78d2d78ce1b88470cc8541 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Fri, 1 Nov 2024 08:25:35 +0200 Subject: god-mode --- home/dots/.emacs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/home/dots/.emacs b/home/dots/.emacs index a81fa6d..923d8bc 100644 --- a/home/dots/.emacs +++ b/home/dots/.emacs @@ -40,6 +40,7 @@ pinentry rec-mode tldr + transpose-frame yasnippet yasnippet-snippets) @@ -76,6 +77,9 @@ (use-package project :ensure t :config + (add-to-list 'project-switch-commands '(project-list-buffers "Buffers")) + (define-key project-prefix-map (kbd "b") 'project-list-buffers) + (add-to-list 'project-switch-commands '(project-kill-buffers "Kill Buffers")) (add-to-list 'project-switch-commands '(project-shell "Shell"))) (use-package exwm @@ -147,6 +151,12 @@ (concat (substring exwm-title 0 49) "...")))))))) +(use-package transpose-frame + :ensure t + :defer t + :bind + (("C-x 5 t" . 'transpose-frame))) + (use-package ffap :demand t :bind @@ -191,6 +201,12 @@ (use-package god-mode :hook ((prog-mode . god-local-mode) + (html-mode . god-local-mode) + (css-mode . god-local-mode) + (go-mode . god-local-mode) + (nix-mode . god-local-mode) + (markdown-mode . god-local-mode) + (org-mode . god-local-mode) (post-command . me/god-mode-update-cursor-type)) :config (god-mode) -- cgit v1.2.3