From 002c98545eb799b2293ee98459d534339739b032 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Tue, 27 Jun 2023 19:53:06 +1000 Subject: buncha changes - add gdbinit - attempt to fix tempel in eglot (not working) - add qutebrowser to hmm browser - allow find file to open file:line_no --- emacs/.emacs.d/init/ycp-editing.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emacs/.emacs.d/init/ycp-editing.el') diff --git a/emacs/.emacs.d/init/ycp-editing.el b/emacs/.emacs.d/init/ycp-editing.el index 5ed3eca..b77f1ea 100644 --- a/emacs/.emacs.d/init/ycp-editing.el +++ b/emacs/.emacs.d/init/ycp-editing.el @@ -73,6 +73,8 @@ ) (electric-pair-mode) (my-add-hooks #'my-non-special-modes-setup '(text-mode-hook prog-mode-hook)) + (advice-add 'find-file :around 'my-find-file-line-number) + (advice-add 'find-file-other-window :around 'my-find-file-line-number) ) (setq viper-mode nil) -- cgit v1.2.3