Updated packages

This commit is contained in:
Aleksandr Lebedev 2025-02-06 15:29:15 +01:00
parent 7a76de055b
commit d7c87a715c
2 changed files with 52 additions and 14 deletions

View file

@ -29,6 +29,9 @@
- [[#magit][MAGIT]]
- [[#minibuffer-escape][Minibuffer escape]]
- [[#modeline][Modeline]]
- [[#mini-echo-modeline][Mini-echo modeline]]
- [[#pixel-scrolling][Pixel-scrolling]]
- [[#native][Native]]
- [[#pdf-tools][PDF Tools]]
- [[#rainbow-delimiters][RAINBOW DELIMITERS]]
- [[#calendar][Calendar]]
@ -48,6 +51,7 @@
- [[#todos-only-from-projects][TODOs only from Projects]]
- [[#todos-in-today][Todos in Today]]
- [[#auto-refresh-agenda-view][Auto refresh agenda view]]
- [[#org-timeblock][org-timeblock]]
- [[#notifications-1][Notifications]]
- [[#rainbow-mode][RAINBOW MODE]]
- [[#shells-and-terminals][SHELLS AND TERMINALS]]
@ -594,9 +598,37 @@ The modeline is the bottom status bar that appears in Emacs windows. While you
:config
(setq doom-modeline-height 35 ;; sets modeline height
doom-modeline-bar-width 5 ;; sets right bar width
doom-modeline-persp-name t ;; adds perspective name to modeline
doom-modeline-persp-name nil ;; adds perspective name to modeline
doom-modeline-time t ;; shows time
doom-modeline-persp-icon t)) ;; adds folder icon next to persp name
doom-modeline-persp-icon nil)) ;; adds folder icon next to persp name
#+end_src
** Mini-echo modeline
The "global modeline" [[https://github.com/eki3z/mini-echo.el][package]], that disables pro buffer modeline and shows itself in echo area.
#+begin_src emacs-lispp
(use-package mini-echo
:ensure t
:init (mini-echo-mode)
:custom
)
#+end_src
* Pixel-scrolling
** Native
This doesn-t work for me for now, very laggy and inconsistent
#+begin_src emacs-lispp
;;; Scrolling.
;; Good speed and allow scrolling through large images (pixel-scroll).
;; Note: Scroll lags when point must be moved but increasing the number
;; of lines that point moves in pixel-scroll.el ruins large image
;; scrolling. So unfortunately I think we'll just have to live with
;; this.
(setq gc-cons-threshold #x40000000)
(setq fast-but-imprecise-scrolling t) ; No (less) lag while scrolling lots.
(setq jit-lock-defer-time 0) ; Just don't even fontify if we're still catching up on user input.
(pixel-scroll-mode)
(setq pixel-dead-time 0) ; Never go back to the old scrolling behaviour.
(setq pixel-resolution-fine-flag t) ; Scroll by number of pixels instead of lines (t = frame-char-height pixels).
(setq mouse-wheel-scroll-amount '(1)) ; Distance in pixel-resolution to scroll each mouse wheel event.
(setq mouse-wheel-progressive-speed t) ; Progressive speed is too fast for me.
#+end_src
* PDF Tools
[[https://github.com/vedang/pdf-tools][pdf-tools]] is a replacement of DocView for viewing PDF files inside Emacs. It uses the poppler library, which also means that pdf-tools can by used to modify PDFs. I use to disable display-line-numbers-mode in pdf-view-mode because line numbers crash it.
@ -873,6 +905,12 @@ Automatically copies all *DONE* TODOs to Today's daily
(run-with-idle-timer refresh-agenda-time-seconds t 'refresh-agenda-timer-function)
#+end_src
** org-timeblock
[[https://github.com/ichernyshovvv/org-timeblock][Github]]
#+begin_src emacs-lispp
(use-package compat :ensure t) ;;needed for org-timeblock
(use-package org-timeblock :ensure t :after compat)
#+end_src
** Notifications
*** Org wild notifier
Found the solution [[https://www.reddit.com/r/orgmode/comments/15ayqvv/orgnotifications_for_scheduled_tasks_in_orgagenda/][Here]]