aboutsummaryrefslogtreecommitdiff
path: root/vim/doc/insert_suspend_hlsearch.txt
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-13 00:02:47 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-13 00:03:19 +1300
commit54caf02bd794e45ed5b4b181f1e314e924809b1e (patch)
treee3c97953e4d53c5f412d1a2a0b16829b176303e1 /vim/doc/insert_suspend_hlsearch.txt
parentSeparate g:loaded/&cp tests from feat tests (diff)
downloaddotfiles-54caf02bd794e45ed5b4b181f1e314e924809b1e.tar.gz
dotfiles-54caf02bd794e45ed5b4b181f1e314e924809b1e.zip
Move 'hlsearch' insert-mode suspension into plugin
It's easily repackaged and it makes the configuration that much shorter, so I may as well. This version also correctly handles 'hlsearch' not being on in the first place.
Diffstat (limited to 'vim/doc/insert_suspend_hlsearch.txt')
-rw-r--r--vim/doc/insert_suspend_hlsearch.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/vim/doc/insert_suspend_hlsearch.txt b/vim/doc/insert_suspend_hlsearch.txt
new file mode 100644
index 00000000..edb51e38
--- /dev/null
+++ b/vim/doc/insert_suspend_hlsearch.txt
@@ -0,0 +1,28 @@
+*insert_suspend_hlsearch.txt* For Vim version 7.0 Last change: 2017 November 12
+
+DESCRIPTION *insert_suspend_hlsearch*
+
+This plugin quietly disables 'hlsearch' search highlighting if enabled when an
+insert operation is started, and puts it back once done, to avoid the
+distracting effect the highlighting can cause while writing.
+
+REQUIREMENTS *insert_suspend_hlsearch-requirements*
+
+This plugin is only available if 'compatible' is not set.
+
+AUTHOR *insert_suspend_hlsearch-author*
+
+Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.
+
+LICENSE *insert_suspend_hlsearch-license*
+
+Licensed for distribution under the same terms as Vim itself (see |license|).
+
+DISTRIBUTION *insert_suspend_hlsearch-distribution*
+
+This plugin lives in Tom Ryder's "dotfiles" suite, and may eventually be spun
+off into a separate distribution as it solidifies and this documentation
+improves. See <https://sanctum.geek.nz/cgit/dotfiles.git/about/> for more
+information.
+
+ vim:tw=78:ts=8:ft=help:norl: