diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-12-01 11:08:41 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-12-01 11:08:41 +0100 |
commit | 8a7ebce5c536141264511a6bcb4692383c18ab14 (patch) | |
tree | 0c6d62626b4e0cfda69d7039d9019dba32d4f3b9 /.config/emacs/init.el | |
parent | b9cd9fa20a1c3c83452b8e77afb676b72bc28317 (diff) |
emacs: Add a windowing module
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r-- | .config/emacs/init.el | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 8726462..d8997fe 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -177,7 +177,6 @@ buffer suppressed." (echo-keystrokes 0.01) ; 0 disables echoing (echo-keystrokes-help nil) (extended-command-suggest-shorter nil) - (help-window-select t) (initial-buffer-choice t) (initial-scratch-message mm-initial-scratch-message) (kill-do-not-save-duplicates t) @@ -190,18 +189,13 @@ buffer suppressed." (remote-file-name-inhibit-delete-by-moving-to-trash t) (require-final-newline nil) (save-interprogram-paste-before-kill t) - (scroll-conservatively 101) ; (info "(Emacs)Auto Scrolling") - (scroll-error-top-bottom t) - (scroll-margin 10) (user-full-name "Thomas Voss") (user-mail-address "mail@thomasvoss.com") (vc-follow-symlinks t) (vc-handled-backends '(Git)) :config (load custom-file :noerror) - (setq-default - fill-column 80 - truncate-partial-width-windows nil) + (setq-default fill-column 80) (dolist (mode '(text-mode emacs-lisp-mode lisp-mode)) (add-hook (mm-mode-to-hook mode) (defun mm-set-fill-column () @@ -230,16 +224,6 @@ buffer suppressed." (show-paren-delay 0)) -;;; Display Line Numbers - -(use-package display-line-numbers - :hook prog-mode - :custom - (display-line-numbers-type 'relative) - (display-line-numbers-width-start 99) - (display-line-numbers-grow-only t)) - - ;;; Auto Revert Buffers (use-package autorevert @@ -260,17 +244,6 @@ buffer suppressed." (bookmark-save-flag 1)) -;;; Smoother Scrolling - -(use-package pixel-scroll - :init - (pixel-scroll-precision-mode) - :config - ;; Make it easier to use custom scroll functions - (dolist (binding '("<next>" "<prior>")) - (keymap-unset pixel-scroll-precision-mode-map binding :remove))) - - ;;; Automatically Create- and Delete Directories (defun mm-auto-create-directories (function filename &rest arguments) @@ -340,6 +313,7 @@ the buffer without saving it." (require 'mm-tetris) ; Emacs Tetris (require 'mm-theme) ; Themeing (require 'mm-treesit) ; Tree-Sitter +(require 'mm-window) ; Windowing (when mm-darwin-p (require 'mm-darwin)) ; MacOS (when mm-lsp-p |