Skip to content

Commit 1c652cd

Browse files
committed
Update installation instructions
1 parent 5616b08 commit 1c652cd

File tree

3 files changed

+38
-58
lines changed

3 files changed

+38
-58
lines changed

INSTALL.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1+
# Installation instructions
2+
13
*Please note that the vim-notes plug-in requires my vim-misc plug-in which is separately distributed.*
24

3-
Unzip the most recent ZIP archives of the [vim-notes] [download-notes] and [vim-misc] [download-misc] plug-ins inside your Vim profile directory (usually this is `~/.vim` on UNIX and `%USERPROFILE%\vimfiles` on Windows), restart Vim and execute the command `:helptags ~/.vim/doc` (use `:helptags ~\vimfiles\doc` instead on Windows).
5+
There are two ways to install the vim-notes plug-in and it's up to you which you prefer, both options are explained below. Please note that below are generic installation instructions while some Vim plug-ins may have external dependencies, please refer to the plug-in's [readme](README.md) for details.
6+
7+
## Installation using ZIP archives
8+
9+
Unzip the most recent ZIP archives of the [vim-notes](http://peterodding.com/code/vim/downloads/notes.zip) and [vim-misc](http://peterodding.com/code/vim/downloads/misc.zip) plug-ins inside your Vim profile directory (usually this is `~/.vim` on UNIX and `%USERPROFILE%\vimfiles` on Windows), restart Vim and execute the command `:helptags ~/.vim/doc` (use `:helptags ~\vimfiles\doc` instead on Windows).
410

5-
If you prefer you can also use [Pathogen] [pathogen], [Vundle] [vundle] or a similar tool to install & update the [vim-notes] [github-notes] and [vim-misc] [github-misc] plug-ins using a local clone of the git repository.
11+
If you get warnings about overwriting existing files while unpacking the ZIP archives you probably don't need to worry about this because it's most likely caused by files like `README.md`, `INSTALL.md` and `addon-info.json`. If these files bother you then you can remove them after unpacking the ZIP archives, they are not required to use the plug-in.
612

13+
## Installation using a Vim plug-in manager
714

8-
[download-misc]: http://peterodding.com/code/vim/downloads/misc.zip
9-
[download-notes]: http://peterodding.com/code/vim/downloads/notes.zip
10-
[github-misc]: http://github.com/xolox/vim-misc
11-
[github-notes]: http://github.com/xolox/vim-notes
12-
[pathogen]: http://www.vim.org/scripts/script.php?script_id=2332
13-
[vundle]: https://github.com/gmarik/vundle
15+
If you prefer you can also use [Pathogen](http://www.vim.org/scripts/script.php?script_id=2332), [Vundle](https://github.com/gmarik/vundle) or a similar tool to install and update the [vim-notes](https://github.com/xolox/vim-notes) and [vim-misc](https://github.com/xolox/vim-misc) plug-ins using local clones of the git repositories. This takes a bit of work to set up the first time but it makes updating much easier, and it keeps each plug-in in its own directory which helps to keep your Vim profile uncluttered.

README.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ Here's a screen shot of the syntax mode (using the [Slate] [slate] color scheme
2626

2727
## Install & usage
2828

29-
*Please note that the vim-notes plug-in requires my vim-misc plug-in which is separately distributed.*
30-
31-
Unzip the most recent ZIP archives of the [vim-notes] [download-notes] and [vim-misc] [download-misc] plug-ins inside your Vim profile directory (usually this is `~/.vim` on UNIX and `%USERPROFILE%\vimfiles` on Windows), restart Vim and execute the command `:helptags ~/.vim/doc` (use `:helptags ~\vimfiles\doc` instead on Windows). To get started execute `:Note` or `:edit note:`, this will start a new note that contains instructions on how to continue from there (and how to use the plug-in in general).
32-
33-
If you prefer you can also use [Pathogen] [pathogen], [Vundle] [vundle] or a similar tool to install & update the [vim-notes] [github-notes] and [vim-misc] [github-misc] plug-ins using a local clone of the git repository.
29+
Please refer to [the installation instructions] [install-notes] available on GitHub. Once you've installed the plug-in you can get started by executing `:Note` or `:edit note:`, this will start a new note that contains instructions on how to continue from there (and how to use the plug-in in general).
3430

3531
## Options
3632

@@ -380,23 +376,20 @@ If you have questions, bug reports, suggestions, etc. the author can be contacte
380376

381377
## License
382378

383-
This software is licensed under the [MIT license] [mit].
379+
This software is licensed under the [MIT license] [mit].
384380
© 2015 Peter Odding &lt;<[email protected]>&gt;.
385381

386382

387383
[ctrlwf]: http://vimdoc.sourceforge.net/htmldoc/windows.html#CTRL-W_f
388384
[ctrlwgf]: http://vimdoc.sourceforge.net/htmldoc/windows.html#CTRL-W_gf
389-
[download-misc]: http://peterodding.com/code/vim/downloads/misc.zip
390-
[download-notes]: http://peterodding.com/code/vim/downloads/notes.zip
391385
[edit]: http://vimdoc.sourceforge.net/htmldoc/editing.html#:edit
392386
[enc]: http://vimdoc.sourceforge.net/htmldoc/options.html#'encoding'
393387
[folding]: https://raw.githubusercontent.com/xolox/vim-notes/master/screenshots/folding.png
394388
[geshi]: http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
395389
[gf]: http://vimdoc.sourceforge.net/htmldoc/editing.html#gf
396390
[gfm]: https://help.github.com/articles/github-flavored-markdown/
397-
[github-misc]: http://github.com/xolox/vim-misc
398-
[github-notes]: http://github.com/xolox/vim-notes
399391
[highlight]: http://vimdoc.sourceforge.net/htmldoc/syntax.html#:highlight
392+
[install-notes]: https://github.com/xolox/vim-notes/blob/master/INSTALL.md
400393
[issue_85]: https://github.com/xolox/vim-session/issues/85
401394
[levenshtein]: http://en.wikipedia.org/wiki/Levenshtein_distance
402395
[mapleader]: http://vimdoc.sourceforge.net/htmldoc/map.html#mapleader
@@ -419,5 +412,4 @@ This software is licensed under the [MIT license] [mit].
419412
[vimgrep]: http://vimdoc.sourceforge.net/htmldoc/quickfix.html#:vimgrep
420413
[vimrc]: http://vimdoc.sourceforge.net/htmldoc/starting.html#vimrc
421414
[voom]: http://www.vim.org/scripts/script.php?script_id=2657
422-
[vundle]: https://github.com/gmarik/vundle
423415
[write]: http://vimdoc.sourceforge.net/htmldoc/editing.html#:write

doc/notes.txt

+25-39
Original file line numberDiff line numberDiff line change
@@ -141,20 +141,10 @@ the Monaco [7] font):
141141
*notes-install-usage*
142142
Install & usage ~
143143

144-
_Please note that the vim-notes plug-in requires my vim-misc plug-in which is
145-
separately distributed._
146-
147-
Unzip the most recent ZIP archives of the vim-notes [9] and vim-misc [10] plug-
148-
ins inside your Vim profile directory (usually this is '~/.vim' on UNIX and
149-
'%USERPROFILE%\vimfiles' on Windows), restart Vim and execute the command
150-
':helptags ~/.vim/doc' (use ':helptags ~\vimfiles\doc' instead on Windows). To
151-
get started execute |:Note| or ':edit note:', this will start a new note that
152-
contains instructions on how to continue from there (and how to use the plug-in
153-
in general).
154-
155-
If you prefer you can also use Pathogen [11], Vundle [12] or a similar tool to
156-
install & update the vim-notes [13] and vim-misc [14] plug-ins using a local
157-
clone of the git repository.
144+
Please refer to the installation instructions [9] available on GitHub. Once
145+
you've installed the plug-in you can get started by executing |:Note| or ':edit
146+
note:', this will start a new note that contains instructions on how to
147+
continue from there (and how to use the plug-in in general).
158148

159149
===============================================================================
160150
*notes-options*
@@ -180,7 +170,7 @@ circumstances but should work for most people:
180170

181171
- If the profile directory where the plug-in is installed is writable, the
182172
directory 'misc/notes/user' under the profile directory is used. This is
183-
for compatibility with Pathogen [11]; the notes will be stored inside the
173+
for compatibility with Pathogen [10]; the notes will be stored inside the
184174
plug-in's bundle.
185175

186176
- If the above doesn't work out, the default depends on the platform:
@@ -607,7 +597,7 @@ optimized for speed (yet).
607597
-------------------------------------------------------------------------------
608598
The *:NoteToMediawiki* command
609599

610-
Convert the current note to a Mediawiki document [15]. This is similar to the
600+
Convert the current note to a Mediawiki document [11]. This is similar to the
611601
|:NoteToMarkdown| command, but it produces wiki text that can be displayed on a
612602
Mediawiki site. That being said, the subset of wiki markup that vim-notes
613603
actually produces will probably work on other wiki sites. These are the notable
@@ -620,7 +610,7 @@ transforations:
620610

621611
- Preformatted blocks are output into '<syntaxhighlight lang="..">' tags.
622612
This functionality is enabled on Mediawiki through the SyntaxHighlight
623-
GeSHi extention [16]. It is also supported on Wikipedia.
613+
GeSHi extention [12]. It is also supported on Wikipedia.
624614

625615
===============================================================================
626616
*notes-mappings*
@@ -709,14 +699,14 @@ Other plug-ins that work well with the notes plug-in ~
709699
*notes-utl.vim*
710700
utl.vim ~
711701

712-
The utl.vim [17] universal text linking plug-in enables links between your
702+
The utl.vim [13] universal text linking plug-in enables links between your
713703
notes, other local files and remote resources like web pages.
714704

715705
-------------------------------------------------------------------------------
716706
*notes-shell.vim*
717707
shell.vim ~
718708

719-
My shell.vim [18] plug-in also enables easy navigation between your notes and
709+
My shell.vim [14] plug-in also enables easy navigation between your notes and
720710
environment like local files and directories, web pages and e-mail addresses by
721711
providing key mappings and commands to e.g. open the file/URL under the text
722712
cursor. This plug-in can also change Vim to full screen which can be really
@@ -726,7 +716,7 @@ nice for large notes.
726716
*notes-voom*
727717
VOoM ~
728718

729-
The VOoM [19] outlining plug-in should work well for notes if you use the
719+
The VOoM [15] outlining plug-in should work well for notes if you use the
730720
Markdown style headers starting with '#', however it has been reported that
731721
this combination may not always work so well in practice (sometimes losing
732722
notes!)
@@ -736,7 +726,7 @@ notes!)
736726
Txtfmt ~
737727

738728
If the text formatting supported by the notes plug-in is not enough for you,
739-
consider trying the Txtfmt [20] (The Vim Highlighter) plug-in. To use the two
729+
consider trying the Txtfmt [16] (The Vim Highlighter) plug-in. To use the two
740730
plug-ins together, create the file 'after/ftplugin/notes.vim' inside your Vim
741731
profile with the following contents:
742732
>
@@ -752,7 +742,7 @@ absolute pathnames that most certainly won't match between e.g. Windows and
752742
Linux or even Windows and Cygwin. The best you can do is keep separate session
753743
scripts for different platforms (and I would certainly consider Cygwin a
754744
separate platform altogether :-). For more information please refer to issue
755-
#85 [21].
745+
#85 [17].
756746

757747
===============================================================================
758748
*notes-contact*
@@ -761,13 +751,13 @@ Contact ~
761751
If you have questions, bug reports, suggestions, etc. the author can be
762752
contacted at [email protected]. The latest version is available at
763753
http://peterodding.com/code/vim/notes/ and http://github.com/xolox/vim-notes.
764-
If you like the script please vote for it on Vim Online [22].
754+
If you like the script please vote for it on Vim Online [18].
765755

766756
===============================================================================
767757
*notes-license*
768758
License ~
769759

770-
This software is licensed under the MIT license [23]. © 2015 Peter Odding
760+
This software is licensed under the MIT license [19]. © 2015 Peter Odding
771761
772762

773763
===============================================================================
@@ -782,20 +772,16 @@ References ~
782772
[6] http://code.google.com/p/vim/source/browse/runtime/colors/slate.vim
783773
[7] http://en.wikipedia.org/wiki/Monaco_(typeface)
784774
[8] http://peterodding.com/code/vim/notes/syntax.png
785-
[9] http://peterodding.com/code/vim/downloads/notes.zip
786-
[10] http://peterodding.com/code/vim/downloads/misc.zip
787-
[11] http://www.vim.org/scripts/script.php?script_id=2332
788-
[12] https://github.com/gmarik/vundle
789-
[13] http://github.com/xolox/vim-notes
790-
[14] http://github.com/xolox/vim-misc
791-
[15] https://www.mediawiki.org/wiki/MediaWiki
792-
[16] http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
793-
[17] http://www.vim.org/scripts/script.php?script_id=293
794-
[18] http://www.vim.org/scripts/script.php?script_id=3123
795-
[19] http://www.vim.org/scripts/script.php?script_id=2657
796-
[20] http://www.vim.org/scripts/script.php?script_id=2208
797-
[21] https://github.com/xolox/vim-session/issues/85
798-
[22] http://www.vim.org/scripts/script.php?script_id=3375
799-
[23] http://en.wikipedia.org/wiki/MIT_License
775+
[9] https://github.com/xolox/vim-notes/blob/master/INSTALL.md
776+
[10] http://www.vim.org/scripts/script.php?script_id=2332
777+
[11] https://www.mediawiki.org/wiki/MediaWiki
778+
[12] http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi
779+
[13] http://www.vim.org/scripts/script.php?script_id=293
780+
[14] http://www.vim.org/scripts/script.php?script_id=3123
781+
[15] http://www.vim.org/scripts/script.php?script_id=2657
782+
[16] http://www.vim.org/scripts/script.php?script_id=2208
783+
[17] https://github.com/xolox/vim-session/issues/85
784+
[18] http://www.vim.org/scripts/script.php?script_id=3375
785+
[19] http://en.wikipedia.org/wiki/MIT_License
800786

801787
vim: ft=help

0 commit comments

Comments
 (0)