]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/autoload/mutt.vim
Move to vim9script
[dotfiles.git] / vim / .vim / autoload / mutt.vim
diff --git a/vim/.vim/autoload/mutt.vim b/vim/.vim/autoload/mutt.vim
new file mode 100644 (file)
index 0000000..367c6d7
--- /dev/null
@@ -0,0 +1,9 @@
+vim9script
+
+export def KillSignature()
+    cursor(1, 1)
+    search('^[>|] \?-- \?$')
+    if getpos(".")[1] != 1
+        normal d}
+    endif
+enddef