...
 
Commits (2)
......@@ -90,22 +90,7 @@ user)."
(interactive)
(if (file-directory-p (concat (vc-root-dir) ".git"))
(call-interactively 'vc-git-grep)
(call-interactively 'rgrep)))
(defun semente-mu4e ()
(interactive)
(if (and (equal semente-mu4e-inbox-expr mu4e~headers-last-query)
(eq major-mode 'mu4e-headers-mode))
(mu4e-quit)
(progn
(mu4e t)
(mu4e-headers-search semente-mu4e-inbox-expr))))
(defun semente-mu4e-view-in-external-browser ()
(interactive)
(let* ((msg mu4e~view-msg)
(url (concat "file://" (mu4e~write-body-to-html msg))))
(funcall shr-external-browser url))))
(call-interactively 'rgrep))))
......@@ -511,17 +496,17 @@ You may find other key bindings inside use-package statements."
(use-package elfeed
:ensure t
:bind (:map elfeed-show-mode-map ("&" . semente-elfeed-show-visit-external))
:bind (:map elfeed-show-mode-map ("R" . semente-elfeed-show-readable))
:bind (:map elfeed-show-mode-map ("&" . semente-elfeed-show-visit-external-browser))
:bind (:map elfeed-show-mode-map ("R" . semente-elfeed-show-visit-eww-readable))
:preface
(setq-default semente-eww-readable nil)
(defun semente-elfeed-show-visit-external ()
(defun semente-elfeed-show-visit-external-browser ()
(interactive)
(let ((url (elfeed-entry-link elfeed-show-entry)))
(funcall shr-external-browser url)))
(defun semente-elfeed-show-readable ()
(defun semente-elfeed-show-visit-eww-readable ()
(interactive)
(set (make-local-variable 'semente-eww-readable) t)
(eww-browse-url (elfeed-entry-link elfeed-show-entry)))
......
......@@ -16,8 +16,8 @@ bind R source-file ~/.tmux.conf \; display-message "tmux configuration reloaded.
# easier and faster switching between next/prev window
bind C-p previous-window
bind C-n next-window
bind -n C-Pageup next-window
bind -n C-Pagedown previous-window
bind -n C-Pageup previous-window
bind -n C-Pagedown next-window
# make page up and page down behave as in normal terminals (SHIFT+PGUP, SHIFT+PGDW)
bind -n S-Pageup copy-mode -u
......@@ -40,7 +40,7 @@ set -g renumber-windows on
# activity monitoring
setw -g monitor-activity on
set -g visual-activity on
set -g visual-activity off
# display status line messages for 2 seconds
set -g display-time 2000
......