aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-editing.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-06-27 19:53:06 +1000
committerYuchen Pei <id@ypei.org>2023-06-27 19:53:06 +1000
commit002c98545eb799b2293ee98459d534339739b032 (patch)
treedd58eeddee67258f02431f7de1533ef85f17d27d /emacs/.emacs.d/init/ycp-editing.el
parent4edc5f34347efbc4422947bde97f95918d29229e (diff)
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
Diffstat (limited to 'emacs/.emacs.d/init/ycp-editing.el')
-rw-r--r--emacs/.emacs.d/init/ycp-editing.el2
1 files changed, 2 insertions, 0 deletions
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)