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/lisp/my/my-web.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/lisp/my/my-web.el')
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-web.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-web.el b/emacs/.emacs.d/lisp/my/my-web.el index c8517de..eced148 100644 --- a/emacs/.emacs.d/lisp/my/my-web.el +++ b/emacs/.emacs.d/lisp/my/my-web.el @@ -74,6 +74,12 @@ (start-process (concat "firefox-private " url) nil "firefox" "--private-window" url)) +(defun my-browse-url-qutebrowser (url) + "Browse URL with qutebrowser." + (setq url (browse-url-encode-url url)) + (start-process (concat "qutebrowser " url) nil "qutebrowser" + url)) + ;; TODO: change to using hmm matching url with default app ;; override browse-url (defun my-browse-url (url &optional arg) |