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