Ace link keybinding and efleed search hook to truncate long lines

This commit is contained in:
Chris Cochrun 2021-05-14 09:40:51 -05:00
parent 42aca0182f
commit c41c4abc4a
2 changed files with 10 additions and 2 deletions

View file

@ -653,7 +653,10 @@ These are some evil bindings to avy.
Ace link provides an avy like search for links. Upon using the keybindings presented it opens the url.
#+begin_src emacs-lisp
(use-package ace-link
:after avy)
:after avy
:general
(general-def 'normal
"gL" 'ace-link))
#+end_src
** Window Management
@ -1736,6 +1739,7 @@ interfere with the default `bongo-playlist-buffer'."
(switch-to-buffer buffer)
(message "No `bongo' playlist is associated with `elfeed'."))))
(add-hook 'elfeed-search-update-hook '(toggle-truncate-lines +1))
:general
(chris/leader-keys

View file

@ -371,7 +371,10 @@ vertically."
"gl" 'avy-goto-line))
(use-package ace-link
:after avy)
:after avy
:general
(general-def 'normal
"gL" 'ace-link))
(setq display-buffer-alist
'(("\\*e?shell\\*"
@ -1296,6 +1299,7 @@ interfere with the default `bongo-playlist-buffer'."
(switch-to-buffer buffer)
(message "No `bongo' playlist is associated with `elfeed'."))))
(add-hook 'elfeed-search-update-hook '(toggle-truncate-lines +1))
:general
(chris/leader-keys