diff options
-rw-r--r-- | mutt/default | 5 | ||||
-rw-r--r-- | mutt/mailcap | 2 | ||||
-rw-r--r-- | mutt/muttrc.topo | 1 |
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 |
2 | macro index \cv ":set wait_key=no<Return>!vim ~/.config/mutt/muttrc<Return>:source ~/.config/mutt/muttrc<Return>:set wait_key=yes<Return>" | 2 | macro index \cv "!vim ~/.config/mutt/muttrc<Return>:source ~/.config/mutt/muttrc<Return>" |
3 | 3 | ||
4 | # Connection options | 4 | # Connection options |
5 | set ssl_force_tls = yes | 5 | set ssl_force_tls = yes |
@@ -50,6 +50,8 @@ auto_view text/html | |||
50 | macro pager h "v/html<return>xq<return>" "Open html file" | 50 | macro 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 |
53 | macro index c '<change-folder>+' | ||
54 | macro index q '<change-folder>?' | ||
53 | bind index o sort-reverse | 55 | bind index o sort-reverse |
54 | bind index O sort-mailbox | 56 | bind index O sort-mailbox |
55 | bind index E edit-type | 57 | bind index E edit-type |
@@ -86,7 +88,6 @@ macro index d '<tag-prefix><delete-message>' 'Delete' | |||
86 | macro index s '<tag-prefix><save-message>' 'Saved' | 88 | macro index s '<tag-prefix><save-message>' 'Saved' |
87 | macro index W '<tag-prefix><clear-flag>' 'Clear flag' | 89 | macro index W '<tag-prefix><clear-flag>' 'Clear flag' |
88 | macro index w '<tag-prefix><set-flag>' 'Set flag' | 90 | macro index w '<tag-prefix><set-flag>' 'Set flag' |
89 | macro index q 'c?' | ||
90 | macro 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>' | 91 | macro 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>' |
91 | macro pager U "\ | 92 | macro 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 @@ | |||
1 | text/html; firefox '%s' &; test=test -n "$DISPLAY"; needsterminal; | 1 | text/html; firefox '%s' &>/dev/null &; test=test -n "$DISPLAY"; needsterminal; |
2 | text/html; w3m -I %{charset} -T text/html; copiousoutput; | 2 | text/html; w3m -I %{charset} -T text/html; copiousoutput; |
3 | text/plain; less -N %s; copiousoutput; | 3 | text/plain; less -N %s; copiousoutput; |
4 | application/json; jq . %s | less -N; copiousoutput; | 4 | application/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 | |||
67 | macro index,pager gD "<change-folder>+Drafts<Return>" "Switch to Drafts folder" | 67 | macro index,pager gD "<change-folder>+Drafts<Return>" "Switch to Drafts folder" |
68 | macro index,pager gt "<change-folder>+Trash<Return>" "Switch to Trash folder" | 68 | macro index,pager gt "<change-folder>+Trash<Return>" "Switch to Trash folder" |
69 | macro index,pager gl "<change-folder>+login<Return>" "Switch to INBOX folder" | 69 | macro index,pager gl "<change-folder>+login<Return>" "Switch to INBOX folder" |
70 | macro index,pager ga "<change-folder>+arch-general<Return>" "Switch to INBOX folder" | ||