diff options
author | VG <vg@devys.org> | 2016-11-24 17:50:27 +0100 |
---|---|---|
committer | VG <vg@devys.org> | 2016-11-24 17:50:27 +0100 |
commit | 3e317b7338bf5b3503ff421c008f6d55b170b4f1 (patch) | |
tree | 4a6b306d5b289f21dee3c76b1f64722587c6fd37 /readme.rst | |
parent | 5821170d49b6a7a8c94c279808cd2eeba3be920f (diff) | |
download | vim-uuid-anchor-3e317b7338bf5b3503ff421c008f6d55b170b4f1.tar.gz vim-uuid-anchor-3e317b7338bf5b3503ff421c008f6d55b170b4f1.tar.bz2 vim-uuid-anchor-3e317b7338bf5b3503ff421c008f6d55b170b4f1.zip |
add mit license
Diffstat (limited to 'readme.rst')
-rw-r--r-- | readme.rst | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/readme.rst b/readme.rst new file mode 100644 index 0000000..f843bb0 --- /dev/null +++ b/readme.rst @@ -0,0 +1,77 @@ +vim-uuid-anchor +############### + +Description +=========== + +Generate UUID anchors to jump from place to place in text files + +Installation with vundle +======================== + +Just put ``Bundle 'git://git.devys.org/vim-uuid-anchor'`` in your +*~/.vim/vimrc*. + +Manual Installation +=================== + +1. Clone the git repository:: + + git clone git://git.devys.org/vim-uuid-anchor + cd vim-uuid-anchor + +3. Copy the file ``ftplugin/uuid_anchor.vim`` to your ``~/.vim/ftplugin`` + directory + +Usage +===== + +Table of content to real content example: + +1. Place yourself at the line of the item you want to be jumpable:: + + 1. item 1 + 2. item 2 <-- You want to add a description while keeping this list + simple. Place your cursor here. + 3. item 3 + +2. Place yourself in insert mode at the end of line, add a space and call the + uuid function, with default vim configuration, press ``A ``, then + ``,,uuid`` (assuming your leader is ','):: + + 1. item 1 + 2. item 2 DCE564FB + 3. item 3 + +3. Elsewhere in the text file, at the description's place in our example, + you can paste the last generated uuid by pressing ``"up``:: + + DCE564FB: + Description with lots of text lines of the item 2. + Another line of description. + Last line of description. + +4. Later, when you want to jump from the item list to the description, or jump + back, simply place your cursor on the uuid and press ``*`` or ``#``. + +5. Be pleased by your new plugin and possibilities. + +License +======= + +Unless specified otherwise, this project is licensed under the terms of the +MIT license. You should have received a copy of the MIT License along with +this program. If not, see <https://opensource.org/licenses/MIT>. + +SPDX-License-Identifier: MIT + +Copyright © 2016 vg <vg@devys.org> + +Contact +======= + +developer + vg + +mail + vg@devys.org |