diff options
author | Yuchen Pei <id@ypei.org> | 2023-06-27 19:53:06 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-06-27 19:53:06 +1000 |
commit | 002c98545eb799b2293ee98459d534339739b032 (patch) | |
tree | dd58eeddee67258f02431f7de1533ef85f17d27d /emacs/.emacs.d/init/ycp-complete.el | |
parent | 4edc5f34347efbc4422947bde97f95918d29229e (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-complete.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-complete.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init/ycp-complete.el b/emacs/.emacs.d/init/ycp-complete.el index 4243311..fefe711 100644 --- a/emacs/.emacs.d/init/ycp-complete.el +++ b/emacs/.emacs.d/init/ycp-complete.el @@ -246,9 +246,9 @@ "<backtab>" #'tempel-previous "C-S-<iso-lefttab>" #'tempel-previous) (require 'my-tempel) - (dolist (hook '(prog-mode-hook text-mode-hook)) - (add-hook hook 'my-tempel-setup-capf)) - ) + (my-add-hooks #'my-tempel-setup-capf '(prog-mode-hook text-mode-hook)) + (add-hook 'eglot-managed-mode-hook #'my-tempel-setup-capf) + ) ;; consult-recoll (my-package consult-recoll @@ -266,6 +266,7 @@ (:name firefox :command browse-url-firefox) (:name firefox-private :command my-browse-url-firefox-private) (:name tor-browser :command my-browse-url-tor-browser) + (:name qutebrowser :command my-browse-url-qutebrowser) (:name download-and-open :command my-fetch-url))) (my-setq-from-local hmm-handlers) (setq hmm-external-handlers |