Neomutt add compose, remove sidebar

This commit is contained in:
Nicolas Duhamel 2018-04-28 17:18:53 +02:00
parent 0d1f0b394f
commit d13f831cfe
3 changed files with 50 additions and 9 deletions

View File

@ -0,0 +1,20 @@
# vim: filetype=muttrc
# Compose View Options -------------------------------
set realname = "Nicolas Duhamel" # who am i?
set envelope_from # which from?
set sig_dashes # dashes before sig
set edit_headers # show headers when composing
set fast_reply # skip to compose when replying
set askcc # ask for CC:
set fcc_attach # save attachments with the body
unset mime_forward # forward attachments as part of body
set forward_format = "Fwd: %s" # format of subject when forwarding
set forward_decode # decode when forwarding
set attribution = "On %d, %n wrote:" # format of quoting header
set reply_to # reply to Reply to: field
set reverse_name # reply as whomever it was to
set include # include message in replies
set forward_quote # include message in forwards
set editor = "vim"

View File

@ -54,26 +54,28 @@ bind index U noop
bind index V noop bind index V noop
bind index W noop bind index W noop
bind index Y noop bind index Y noop
bind index Z noop
bind index a noop bind index a noop
bind index b noop bind index b noop
bind index d noop
bind index e noop bind index e noop
bind index g noop
bind index q noop bind index q noop
bind index s noop
bind index z noop
# Set # Set
bind index g noop
bind index gg first-entry bind index gg first-entry
bind index G last-entry bind index G last-entry
bind index gf change-folder macro index gf <change-folder>?
bind index c copy-message bind index c copy-message
bind index m save-message bind index m save-message
bind index d noop
bind index dd delete-message bind index dd delete-message
bind index dt delete-thread bind index dt delete-thread
bind index f forward-message bind index f forward-message
bind index s noop
bind index ss flag-message bind index ss flag-message
bind index sf set-flag bind index sf set-flag
bind index Sf clear-flag bind index Sf clear-flag
@ -90,10 +92,8 @@ bind index l display-message
bind index <Enter> display-message bind index <Enter> display-message
bind index n mail bind index n mail
bind index z noop
bind index zz sync-mailbox bind index zz sync-mailbox
bind index Z noop
bind index ZZ quit bind index ZZ quit
bind index ZQ exit bind index ZQ exit
@ -109,6 +109,7 @@ bind index,pager L sidebar-open
# #
bind pager z noop bind pager z noop
bind pager h noop bind pager h noop
bind pager v noop
bind pager g noop bind pager g noop
bind pager gg top bind pager gg top
@ -117,7 +118,6 @@ bind pager k previous-line
bind pager j next-line bind pager j next-line
bind pager h exit bind pager h exit
bind pager za view-attachments bind pager za view-attachments
macro pager zu "<pipe-entry> urlscan<Enter>" macro pager zu "<pipe-entry> urlscan<Enter>"
@ -129,3 +129,20 @@ bind attach s noop
macro attach s <save-entry><kill-line>$HOME/Downloads/<Enter>y<Enter> macro attach s <save-entry><kill-line>$HOME/Downloads/<Enter>y<Enter>
bind attach l view-attach bind attach l view-attach
bind attach h exit bind attach h exit
##################
# Compose
#
bind compose d noop
bind compose p noop
bind compose q noop
bind compose a noop
bind compose dd detach-file
bind compose r rename-attachment
bind compose e edit-message
bind compose p postpone-message
macro compose q <exit>n<Enter> #don't ask
macro compose a <attach-file>? #show browser

View File

@ -13,6 +13,7 @@ source $XDG_CONFIG_HOME/neomutt/accounts
source $XDG_CONFIG_HOME/neomutt/colors source $XDG_CONFIG_HOME/neomutt/colors
source $XDG_CONFIG_HOME/neomutt/index source $XDG_CONFIG_HOME/neomutt/index
source $XDG_CONFIG_HOME/neomutt/pager source $XDG_CONFIG_HOME/neomutt/pager
source $XDG_CONFIG_HOME/neomutt/compose
source $XDG_CONFIG_HOME/neomutt/keybinding source $XDG_CONFIG_HOME/neomutt/keybinding
@ -31,8 +32,11 @@ set pipe_decode # not sure, strip headers and eval mimes when piping
set thorough_search # same, strip headers and eval mimes before searching set thorough_search # same, strip headers and eval mimes before searching
#Sidebar --------------------------------------------- #Sidebar ---------------------------------------------
set sidebar_visible = yes # set sidebar_visible = yes
set sidebar_width = 24 # set sidebar_width = 24
set mail_check_stats
set folder_format = "%2C%t [%4n/%4m] %f"
#Status Bar ------------------------------------------ #Status Bar ------------------------------------------
set status_chars = " *%A" set status_chars = " *%A"