about summary refs log tree commit diff
path: root/modules/shell
diff options
context:
space:
mode:
Diffstat (limited to 'modules/shell')
-rw-r--r--modules/shell/kakoune/kakrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/shell/kakoune/kakrc b/modules/shell/kakoune/kakrc
index 8dcdf39cdded..9b670c7eb824 100644
--- a/modules/shell/kakoune/kakrc
+++ b/modules/shell/kakoune/kakrc
@@ -20,6 +20,11 @@ hook global BufWritePre .*(?<!\.diff)$ %{
   echo
 }
 
+hook global WinSetOption filetype=mail %{
+  set-option buffer autowrap_column 72
+  autowrap-enable
+}
+
 define-command -docstring "import from the system clipboard" clipboard-import %{
   set-register dquote %sh{pbpaste}
   echo -markup "{Information}imported system clipboard to register """