|
|
@ -34,19 +34,14 @@ exec dbus-launch --exit-with-session emacs -mm --debug-init |
|
|
|
|
|
|
|
Write out the ~$BROWSER~ variable so other applications can pick up the custom browser. |
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
(setenv "BROWSER" dotfiles/browser) |
|
|
|
#+end_src |
|
|
|
|
|
|
|
** Browse URL keybindings |
|
|
|
|
|
|
|
Create a custom keybinding for browsing the urls behind =SPC u=: |
|
|
|
|
|
|
|
+ Place custom keybindings for browsing behind =SPC b= |
|
|
|
+ URL with =u= |
|
|
|
+ Point with =p= |
|
|
|
+ Cursor with =c= |
|
|
|
+ URL at point with =p= |
|
|
|
+ URL at cursor with =c= |
|
|
|
|
|
|
|
#+begin_src emacs-lisp |
|
|
|
(setenv "BROWSER" dotfiles/browser) |
|
|
|
|
|
|
|
(dotfiles/leader |
|
|
|
"u" '(:ignore t :which-key "Browse") |
|
|
|
"uu" '(browse-url :which-key "URL") |
|
|
|