From 9ae3c68f3a193c1d3ed387b23ea4ddb89756865f Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 14 Dec 2019 19:52:06 +0100 Subject: Add documentation * Create a help file with plugin documentation * Generate help tags --- doc/nohai.txt | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/tags | 10 ++++++++++ 2 files changed, 63 insertions(+) create mode 100644 doc/nohai.txt create mode 100644 doc/tags (limited to 'doc') 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 +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 || mappings: > + nmap / (nohai-search) +< + + *nohai-g/* *nohai-(nohai-search-backward)* +g/ Search forward and |nohlsearch| after searching. + + *nohai-g?* *nohai-(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 . + + 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-(nohai-search) nohai.txt /*nohai-(nohai-search)* +nohai-(nohai-search-backward) nohai.txt /*nohai-(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* -- cgit v1.2.3