From e189a5386809cce151e3f200a143837eb0cd538c Mon Sep 17 00:00:00 2001 From: luukvbaal <31730729+luukvbaal@users.noreply.github.com> Date: Wed, 16 Jan 2019 20:17:31 +0100 Subject: [PATCH 1/2] actual urlscan fix --- muttrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/muttrc b/muttrc index 9ace1aa..ca43064 100644 --- a/muttrc +++ b/muttrc @@ -44,8 +44,8 @@ bind index \005 next-undeleted # Mouse wheel bind pager \031 previous-line # Mouse wheel bind pager \005 next-line # Mouse wheel macro index,pager S -macro index,pager \Cu "|urlscan -r 'setsid $BROWSER {}'"\n -macro index,pager ,, "|urlscan -r 'setsid $BROWSER {}'"\n +macro index,pager \Cu "|urlscan -r 'setsid $BROWSER \"{}\"'"\n +macro index,pager ,, "|urlscan -r 'setsid $BROWSER \"{}\"'"\n # View attachments properly. bind attach view-mailcap From 2f155583650661a4802153df5756919db0c42298 Mon Sep 17 00:00:00 2001 From: risood Date: Mon, 4 Feb 2019 23:31:11 +0200 Subject: [PATCH 2/2] muttrc: add vim-like keybindings for file browser --- muttrc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/muttrc b/muttrc index ca43064..24df1ae 100644 --- a/muttrc +++ b/muttrc @@ -31,13 +31,15 @@ bind index G last-entry bind index gg first-entry bind pager j next-line bind pager k previous-line -bind pager gg top -bind pager G bottom -bind index d half-down -bind index u half-up +bind browser h goto-parent +bind browser l select-entry +bind pager,browser gg top-page +bind pager,browser G bottom-page +bind index,browser d half-down +bind index,browser u half-up bind index D delete-message bind index U undelete-message -bind index F search +bind index,browser F search bind index,pager R group-reply bind index \031 previous-undeleted # Mouse wheel bind index \005 next-undeleted # Mouse wheel