[hydra] add eww
This commit is contained in:
parent
26cd72b160
commit
418a6a3bc8
12
init.org
12
init.org
|
@ -992,6 +992,15 @@ Unique key-values for task "Exercise"
|
||||||
("f" . #'eww-forward-url)
|
("f" . #'eww-forward-url)
|
||||||
("v" . nil)))
|
("v" . nil)))
|
||||||
|
|
||||||
|
(defun my-eww ()
|
||||||
|
(interactive)
|
||||||
|
(cond ((derived-mode-p 'dired-mode)
|
||||||
|
(eww-open-file
|
||||||
|
(dired-file-name-at-point)))
|
||||||
|
((derived-mode-p 'html-mode)
|
||||||
|
(eww-open-file (buffer-file-name)))
|
||||||
|
(t (call-interactively #'eww))))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** url-cookie
|
**** url-cookie
|
||||||
Ask for confirmation before saving cookies. I'd rather just disallow them all though 🤔
|
Ask for confirmation before saving cookies. I'd rather just disallow them all though 🤔
|
||||||
|
@ -1531,7 +1540,8 @@ _u_: next word ^_l_: edit lines^ _s_: next whole symbol
|
||||||
("k" (my-start-app-or-switch "keepassxc") "KeePassXC")
|
("k" (my-start-app-or-switch "keepassxc") "KeePassXC")
|
||||||
("t" (my-start-app-or-switch "xfce4-terminal") "terminal")
|
("t" (my-start-app-or-switch "xfce4-terminal") "terminal")
|
||||||
("T" (my-start-app-or-switch "transmission-gtk") "bittorrent")
|
("T" (my-start-app-or-switch "transmission-gtk") "bittorrent")
|
||||||
("s" (my-start-app-or-switch "xfce4-screenshooter") "screenshot"))
|
("s" (my-start-app-or-switch "xfce4-screenshooter") "screenshot")
|
||||||
|
("w" my-eww "eww"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** org
|
*** org
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
Loading…
Reference in New Issue