summaryrefslogtreecommitdiff
path: root/home/dots/.emacs
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-11-01 08:25:35 +0200
committerMarc Coquand <marc@mccd.space>2024-11-01 08:25:35 +0200
commit53daa6ec446840511e78d2d78ce1b88470cc8541 (patch)
tree1bfb8ad91914d86d0cec9726f4df34e71f7fc235 /home/dots/.emacs
parent7a3778086d173742e816eb7d3e0e82bb6ce1cbd5 (diff)
downloadguix-53daa6ec446840511e78d2d78ce1b88470cc8541.tar.gz
guix-53daa6ec446840511e78d2d78ce1b88470cc8541.tar.bz2
guix-53daa6ec446840511e78d2d78ce1b88470cc8541.zip
god-mode
Diffstat (limited to 'home/dots/.emacs')
-rw-r--r--home/dots/.emacs16
1 files changed, 16 insertions, 0 deletions
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)