1
0
mirror of https://github.com/sameer1612/.dotfiles.git synced 2025-02-19 19:10:07 +02:00

moved window to own file

This commit is contained in:
Sameer Kumar 2024-10-10 20:03:18 +05:30
parent f07de2d24c
commit b4c67dca3c
2 changed files with 24 additions and 37 deletions

View File

@ -3,7 +3,6 @@
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(defcustom ek-use-nerd-fonts t
@ -11,34 +10,8 @@
:type 'boolean
:group 'appearance)
(load (locate-user-emacs-file "packages/emacs.el"))
(use-package window
:ensure nil ;; This is built-in, no need to fetch it.
:custom
(display-buffer-alist
'(
("\\*\\(Backtrace\\|Warnings\\|Compile-Log\\|[Hh]elp\\|Messages\\|Bookmark List\\|Ibuffer\\|Occur\\|eldoc.*\\)\\*"
(display-buffer-in-side-window)
(window-height . 0.25)
(side . bottom)
(slot . 0))
("\\*\\(lsp-help\\)\\*"
(display-buffer-in-side-window)
(window-height . 0.25)
(side . bottom)
(slot . 0))
("\\*\\(Flymake diagnostics\\|xref\\|ivy\\|Swiper\\|Completions\\)"
(display-buffer-in-side-window)
(window-height . 0.25)
(side . bottom)
(slot . 1))
)))
(load (locate-user-emacs-file "packages/window.el"))
(use-package dired
:ensure nil ;; This is built-in, no need to fetch it.
@ -57,15 +30,6 @@
(setq insert-directory-program gls)))))
(use-package erc
:defer t ;; Load ERC when needed rather than at startup. (Load it with `M-x erc RET')
:custom
(erc-join-buffer 'window) ;; Open a new window for joining channels.
(erc-hide-list '("JOIN" "PART" "QUIT")) ;; Hide messages for joins, parts, and quits to reduce clutter.
(erc-timestamp-format "[%H:%M]") ;; Format for timestamps in messages.
(erc-autojoin-channels-alist '((".*\\.libera\\.chat" "#emacs"))));; Automatically join the #emacs channel on Libera.Chat.
(use-package isearch
:ensure nil ;; This is built-in, no need to fetch it.
:config

View File

@ -0,0 +1,23 @@
(use-package window
:ensure nil ;; This is built-in, no need to fetch it.
:custom
(display-buffer-alist
'(
("\\*\\(Backtrace\\|Warnings\\|Compile-Log\\|[Hh]elp\\|Messages\\|Bookmark List\\|Ibuffer\\|Occur\\|eldoc.*\\)\\*"
(display-buffer-in-side-window)
(window-height . 0.25)
(side . bottom)
(slot . 0))
("\\*\\(lsp-help\\)\\*"
(display-buffer-in-side-window)
(window-height . 0.25)
(side . bottom)
(slot . 0))
("\\*\\(Flymake diagnostics\\|xref\\|ivy\\|Swiper\\|Completions\\)"
(display-buffer-in-side-window)
(window-height . 0.25)
(side . bottom)
(slot . 1))
)))