Some fairly minimal changes

This commit is contained in:
2025-08-06 19:42:39 +09:00
parent 42484af1ec
commit 991a67a19b
7 changed files with 124 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
;;; 20-window-management.el --- Setup concerning windowing. -*- no-byte-compile: t; lexical-binding: t; -*-
;; Treemacs is a package that provides a tree view of the current project.
(use-package treemacs
:ensure t
:defer t
:commands (treemacs))
;; Windmove family of commands allow easy navigation when there is more than two
;; buffers on screen. The bindings are the Vim movement commands with the
;; Control+Shift modifiers, adjusted for the workman layout and shifted a bit
;; down and to the left.
(keymap-global-set "C-S-k" #'windmove-left)
(keymap-global-set "C-S-l" #'windmove-down)
(keymap-global-set "C-<" #'windmove-up)
(keymap-global-set "C->" #'windmove-right)
;; Still thinking on this one
;; (setq
;; display-buffer-alist
;; `(("\\*vterm\\*" display-buffer-in-side-window
;; (side . bottom) (slot . 0) (window-height . fit-window-to-buffer)
;; (preserve-size . (nil . t)) '(window-parameters . ((no-delete-other-windows . t))))))
;;; 20-window-management.el ends here