add utils.el
This commit is contained in:
15
utils.el
Normal file
15
utils.el
Normal 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))
|
||||||
Reference in New Issue
Block a user