aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTeddy Wing2019-12-14 19:52:06 +0100
committerTeddy Wing2019-12-14 19:55:37 +0100
commit9ae3c68f3a193c1d3ed387b23ea4ddb89756865f (patch)
treebab2bdf2df10099578299516ffab4f1b976aec5d /doc
parent2c9242d8640bbf491bb01274328f71272f322a22 (diff)
downloadvim-nohai-9ae3c68f3a193c1d3ed387b23ea4ddb89756865f.tar.bz2
Add documentation
* Create a help file with plugin documentation * Generate help tags
Diffstat (limited to 'doc')
-rw-r--r--doc/nohai.txt53
-rw-r--r--doc/tags10
2 files changed, 63 insertions, 0 deletions
diff --git a/doc/nohai.txt b/doc/nohai.txt
new file mode 100644
index 0000000..05f1ab8
--- /dev/null
+++ b/doc/nohai.txt
@@ -0,0 +1,53 @@
+*nohai.txt* Search commands that |nohlsearch|
+
+Author: Teddy Wing <http://teddywing.com>
+License: GPLv3+
+Version: 0.0.1
+
+==============================================================================
+INTRODUCTION *nohai-introduction*
+
+Nohai wraps Vim's search commands, turning off search highlighting
+automatically after searching. This allows for movement using the search
+commands with visual feedback, while subsequently removing that feedback when
+it's no longer needed.
+
+==============================================================================
+MAPPINGS *nohai-mappings*
+
+Custom mappings can be defined using the included |<Plug>| mappings: >
+ nmap <Leader>/ <Plug>(nohai-search)
+<
+
+ *nohai-g/* *nohai-<Plug>(nohai-search-backward)*
+g/ Search forward and |nohlsearch| after searching.
+
+ *nohai-g?* *nohai-<Plug>(nohai-search)*
+g? Search backward and |nohlsearch| after searching.
+
+==============================================================================
+SETTINGS *nohai-settings*
+
+ *g:nohai_no_maps*
+g:nohai_no_maps
+ Disable plugin mappings.
+
+==============================================================================
+LICENSE *nohai-license*
+
+Copyright (c) 2019 Teddy Wing
+
+Nohai is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+Nohai is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Nohai. If not, see <https://www.gnu.org/licenses/>.
+
+ vim:tw=78:ts=8:ft=help:norl:
diff --git a/doc/tags b/doc/tags
new file mode 100644
index 0000000..a61a81f
--- /dev/null
+++ b/doc/tags
@@ -0,0 +1,10 @@
+g:nohai_no_maps nohai.txt /*g:nohai_no_maps*
+nohai-<Plug>(nohai-search) nohai.txt /*nohai-<Plug>(nohai-search)*
+nohai-<Plug>(nohai-search-backward) nohai.txt /*nohai-<Plug>(nohai-search-backward)*
+nohai-g/ nohai.txt /*nohai-g\/*
+nohai-g? nohai.txt /*nohai-g?*
+nohai-introduction nohai.txt /*nohai-introduction*
+nohai-license nohai.txt /*nohai-license*
+nohai-mappings nohai.txt /*nohai-mappings*
+nohai-settings nohai.txt /*nohai-settings*
+nohai.txt nohai.txt /*nohai.txt*