aboutsummaryrefslogtreecommitdiffstats
path: root/modules/communication/neomutt/.neomuttrc
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-19 01:40:50 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-19 01:40:50 +0530
commitbaae94abb6a9a03914216f0f373b7b0f6b0207bd (patch)
tree34f0b938f0b34b0c3723ed929246f71f9a2d396e /modules/communication/neomutt/.neomuttrc
parent6b0161b2639bb49e270754e90f4f8a47311c5198 (diff)
downloadhome-manager-config-baae94abb6a9a03914216f0f373b7b0f6b0207bd.tar.gz
home-manager-config-baae94abb6a9a03914216f0f373b7b0f6b0207bd.zip
chore: removed all raw string configurations options in favor of files
Moved all configurations which were previously raw strings chunks, for options that the home-manager options didn't provide, into files for that specific configuration and reading there contents instead (with string replacement for passing information from the rest of the configuration).
Diffstat (limited to 'modules/communication/neomutt/.neomuttrc')
-rw-r--r--modules/communication/neomutt/.neomuttrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/communication/neomutt/.neomuttrc b/modules/communication/neomutt/.neomuttrc
index 3ed08f9..2f7ef00 100644
--- a/modules/communication/neomutt/.neomuttrc
+++ b/modules/communication/neomutt/.neomuttrc
@@ -1,3 +1,10 @@
+# Read messages in Neovim. `-` makes Neovim read the message from
+# stdin and -R prevents accidental edits to message content.
+set pager = "@@PAGER@@ -R -n +'setlocal nolist | silent! 1,2g/^$/delete _ | nohlsearch | setlocal nomodified nomodifiable' -"
+# Return directly to the index when Neovim exits and do not prepend
+# NeoMutt’s pager status line to the message passed to Neovim.
+set noprompt_after
+set pager_format = ""
# Base16 OneDark Dark terminal colors for neomutt
# Each column in the index receives a distinct color to keep the UI organized.