Some New Emacs Packages I Tried: Denote, zoom-frm, visual-regex, zzz-to-char, and More

Denote

;; Denote
(require 'denote)
(setq denote-directory (expand-file-name "~/Documents/notes/"))
(set-register ?n (cons 'file "~/Documents/notes"))
(global-set-key (kbd "<f5>") (lambda() (interactive)(find-file "/home/red/Documents/notes/")))
(global-set-key (kbd "C-x /") 'dired-narrow-regexp) ;; or used the in-built `%m t(oggle) k(ill)
(setq denote-file-type 'org)
;; (add-hook 'find-file-hook #'denote-link-buttonize-buffer)
(global-set-key (kbd "C-c n n") 'denote)
(global-set-key (kbd "C-c n N") 'denote-type)
(global-set-key (kbd "C-c n r") 'denote-dired-rename-marked-files)
(global-set-key (kbd "C-c n i") 'denote-link)

zoom-frm

;; Drew Zoom
(add-to-list 'load-path "/home/red/.emacs.d/Packages")
(require 'zoom-frm)
(define-key ctl-x-map [(control ?+)] 'zoom-in/out)
(define-key ctl-x-map [(control ?-)] 'zoom-in/out)
(define-key ctl-x-map [(control ?=)] 'zoom-in/out)
(define-key ctl-x-map [(control ?0)] 'zoom-in/out)

visual-regexp

https://github.com/benma/visual-regexp.el

visual-regexp for Emacs is like replace-regexp, but with live visual
feedback directly in the buffer

It can be used to replace all matches in one go (like replace-regexp),
or a decision can be made on each match (like query-replace-regexp).

(require 'visual-regexp)
(define-key global-map (kbd "C-c r") 'vr/replace)
(define-key global-map (kbd "C-c q") 'vr/query-replace)
;; if you use multiple-cursors, this is for you:
(define-key global-map (kbd "C-c m") 'vr/mc-mark)

Phasellus lacut.

vr/mc-mark

Zzz to Char

Work like the built-ins zap-to-char and zap-up-to-char, but allow the
user to quickly select the exact character they want to zzz to.

Cum sociis natoque penatibus et magnis dis parturient montes,
ridiculus mus.
mascetur ridiculus mus.
mascetur ridiculus mus.
mascetur ridiculus mus.

https://github.com/mrkkrp/zzz-to-char

(require 'zzz-to-char)
(global-set-key (kbd "M-z") #'zzz-to-char)

olivetti

A simple Emacs minor mode for a nice writing environment.

Set a desired text body width to automatically resize window margins to keep the text comfortably in the middle of the window.

olivetti

(require 'olivetti)

Substitute

Substitute is a set of commands that perform text replacement
(i) throughout the buffer, (ii) limited to the current definition
(per narrow-to-defun), (iii) from point to the end of the buffer, and
(iv) from point to the beginning of the buffer.

;; Substitute
(add-to-list 'load-path "/home/red/.emacs.d/Packages/substitute")
(require 'substitute)
(let ((map global-map))
  (define-key map (kbd "M-# b") #'substitute-target-in-buffer))

Goodbye
Goodbye
Goodbye

https://git.sr.ht/~protesilaos/substitute

Select region as vim

restart-emacs

Simple Diary

Monokai Theme

catppuccin

Focus