aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mutt/default5
-rw-r--r--mutt/mailcap2
-rw-r--r--mutt/muttrc.topo1
3 files changed, 5 insertions, 3 deletions
diff --git a/mutt/default b/mutt/default
index 6de9eda..d233687 100644
--- a/mutt/default
+++ b/mutt/default
@@ -1,5 +1,5 @@
1# Edit rc file and source it. This is the most important thing 1# Edit rc file and source it. This is the most important thing
2macro index \cv ":set wait_key=no<Return>!vim ~/.config/mutt/muttrc<Return>:source ~/.config/mutt/muttrc<Return>:set wait_key=yes<Return>" 2macro index \cv "!vim ~/.config/mutt/muttrc<Return>:source ~/.config/mutt/muttrc<Return>"
3 3
4# Connection options 4# Connection options
5set ssl_force_tls = yes 5set ssl_force_tls = yes
@@ -50,6 +50,8 @@ auto_view text/html
50macro pager h "v/html<return>xq<return>" "Open html file" 50macro pager h "v/html<return>xq<return>" "Open html file"
51 51
52# Vim-style key binding, \c means Ctrl 52# Vim-style key binding, \c means Ctrl
53macro index c '<change-folder>+'
54macro index q '<change-folder>?'
53bind index o sort-reverse 55bind index o sort-reverse
54bind index O sort-mailbox 56bind index O sort-mailbox
55bind index E edit-type 57bind index E edit-type
@@ -86,7 +88,6 @@ macro index d '<tag-prefix><delete-message>' 'Delete'
86macro index s '<tag-prefix><save-message>' 'Saved' 88macro index s '<tag-prefix><save-message>' 'Saved'
87macro index W '<tag-prefix><clear-flag>' 'Clear flag' 89macro index W '<tag-prefix><clear-flag>' 'Clear flag'
88macro index w '<tag-prefix><set-flag>' 'Set flag' 90macro index w '<tag-prefix><set-flag>' 'Set flag'
89macro index q 'c?'
90macro pager x ':set my_keep_lines1 = $my_keep_lines2<enter>:set my_keep_lines2 = $pager_index_lines<enter>:set pager_index_lines = $my_keep_lines1<enter>' 91macro pager x ':set my_keep_lines1 = $my_keep_lines2<enter>:set my_keep_lines2 = $pager_index_lines<enter>:set pager_index_lines = $my_keep_lines1<enter>'
91macro pager U "\ 92macro pager U "\
92:set my_tmp_pipe_decode=\$pipe_decode\n\ 93:set my_tmp_pipe_decode=\$pipe_decode\n\
diff --git a/mutt/mailcap b/mutt/mailcap
index ab0c00c..e8760ee 100644
--- a/mutt/mailcap
+++ b/mutt/mailcap
@@ -1,4 +1,4 @@
1text/html; firefox '%s' &; test=test -n "$DISPLAY"; needsterminal; 1text/html; firefox '%s' &>/dev/null &; test=test -n "$DISPLAY"; needsterminal;
2text/html; w3m -I %{charset} -T text/html; copiousoutput; 2text/html; w3m -I %{charset} -T text/html; copiousoutput;
3text/plain; less -N %s; copiousoutput; 3text/plain; less -N %s; copiousoutput;
4application/json; jq . %s | less -N; copiousoutput; 4application/json; jq . %s | less -N; copiousoutput;
diff --git a/mutt/muttrc.topo b/mutt/muttrc.topo
index 69c5bbf..55dab55 100644
--- a/mutt/muttrc.topo
+++ b/mutt/muttrc.topo
@@ -67,3 +67,4 @@ macro index,pager gd "<change-folder>+DeltaChat<Return>" "Switch
67macro index,pager gD "<change-folder>+Drafts<Return>" "Switch to Drafts folder" 67macro index,pager gD "<change-folder>+Drafts<Return>" "Switch to Drafts folder"
68macro index,pager gt "<change-folder>+Trash<Return>" "Switch to Trash folder" 68macro index,pager gt "<change-folder>+Trash<Return>" "Switch to Trash folder"
69macro index,pager gl "<change-folder>+login<Return>" "Switch to INBOX folder" 69macro index,pager gl "<change-folder>+login<Return>" "Switch to INBOX folder"
70macro index,pager ga "<change-folder>+arch-general<Return>" "Switch to INBOX folder"