aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-16 14:06:19 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-16 14:06:19 +1200
commit0e70a0defd83492bb5f466d1232afd3f69134cbd (patch)
treead384350d5a26f601a1f978a131c35ae69e2fed2 /vim/after
parentAdd reformatting analogue to quote mappings (diff)
downloaddotfiles-0e70a0defd83492bb5f466d1232afd3f69134cbd.tar.gz
dotfiles-0e70a0defd83492bb5f466d1232afd3f69134cbd.zip
Add \m 'magic' setting to mail headers jump
This is because Vim's search() function checks the value of 'magic' to decide how to interpret the pattern. It's crazy to have this option off, but best to be explicit about it anyway.
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/ftplugin/mail.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim
index 4d2f0a17..74261d8c 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/after/ftplugin/mail.vim
@@ -7,7 +7,7 @@ endif
" the first entirely blank line, if something hasn't already moved us from the
" start of the file
if line('.') == 1 && col('.') == 1
- call search('^$', 'c')
+ call search('\m^$', 'c')
endif
" Add a space to the end of wrapped lines for format-flowed mail