add utils.el

This commit is contained in:
2026-05-22 09:13:20 -04:00
parent 02ed88ae45
commit d35693b7d3

15
utils.el Normal file
View File

@@ -0,0 +1,15 @@
;; -*- lexical-binding: t; -*-
(defun hgh/edit-init-file ()
(interactive)
(find-file user-init-file))
(defun hgh/duplicate-dwim ()
(interactive)
(duplicate-dwim)
(next-line))
(defun hgh/set-bar-cursor(&rest args)
(setq-local cursor-type 'bar))
(defun hgh/set-box-cursor(&rest args)
(setq-local cursor-type 'box))