Skip to content

Instantly share code, notes, and snippets.

@ElDeveloper
Created July 12, 2016 05:32
Show Gist options
  • Save ElDeveloper/1c601e5bc5e7dd0471da5208e1c36a2f to your computer and use it in GitHub Desktop.
Save ElDeveloper/1c601e5bc5e7dd0471da5208e1c36a2f to your computer and use it in GitHub Desktop.
diff --git a/doc/muttrc.new-mail b/doc/muttrc.new-mail
index 412c544..5f87981 100644
--- a/doc/muttrc.new-mail
+++ b/doc/muttrc.new-mail
@@ -1,34 +1,11 @@
-# This is a complete list of FEATURE-NAME configuration.
+# This is a complete list of new-mail-command-related configuration.
# --------------------------------------------------------------------------
# VARIABLES - shown with their default values
# --------------------------------------------------------------------------
-# DESCRIPTION
-set VARIABLE = "DEFAULT_VALUE"
-
-# --------------------------------------------------------------------------
-# COMMANDS - shown with an example arguments
-# --------------------------------------------------------------------------
-
-# DESCRIPTION
-COMMAND_NAME 'ARGUMENTS'
-
-# --------------------------------------------------------------------------
-# FUNCTIONS - shown with an example mapping
-# --------------------------------------------------------------------------
-
-# DESCRIPTON
-bind index,pager KEY FUNCTION-NAME
-
-# --------------------------------------------------------------------------
-# COLORS - some unpleasant examples are given
-# --------------------------------------------------------------------------
-# Note: All color operations are of the form:
-# color OBJECT FOREGROUND BACKGROUND
-
-# DESCRIPTON
-color COLOR_NAME cyan black
+# Set the command you want mutt to execute upon the reception of a new email
+set new_mail_command = ""
# --------------------------------------------------------------------------
diff --git a/doc/vimrc.new-mail b/doc/vimrc.new-mail
index 1d96d30..3eaaf05 100644
--- a/doc/vimrc.new-mail
+++ b/doc/vimrc.new-mail
@@ -1,15 +1,4 @@
-" Vim syntax file for the mutt FEATURE-NAME patch
-
-syntax keyword muttrcVarBool skipwhite contained VARIABLE_NAME nextgroup=muttrcSetBoolAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
-
-syntax keyword muttrcVarNum skipwhite contained VARIABLE_NAME nextgroup=muttrcSetNumAssignment,muttrcVPrefix,muttrcVarBool,muttrcVarQuad,muttrcVarNum,muttrcVarStr
-
-syntax keyword muttrcVarStr contained skipwhite VARIABLE_NAME nextgroup=muttrcVarEqualsIdxFmt
-
-syntax keyword muttrcCommand COMMAND_NAME
-
-syntax match muttrcFunction contained "\<FUNCTION-NAME\>"
-
-syntax keyword muttrcColorField contained COLOR_NAME
+" Vim syntax file for the mutt new_mail_command patch
+syntax keyword muttrcVarStr contained skipwhite new_mail_command nextgroup=muttrcVarEqualsIdxFmt
" vim: syntax=vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment