Skip to content

Commit eaf2d44

Browse files
committed
Document usage of multiple platforms (issue #85)
See also issue #85 on GitHub: xolox/vim-session#85
1 parent 7a721b7 commit eaf2d44

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ If the text formatting supported by the notes plug-in is not enough for you, con
331331
" Enable Txtfmt formatting inside notes.
332332
setlocal filetype=notes.txtfmt
333333

334+
## Using multiple platforms (multi boot, Cygwin, etc.)
335+
336+
Session scripts cannot be shared between platforms because they contain absolute pathnames that most certainly won't match between e.g. Windows and Linux or even Windows and Cygwin. The best you can do is keep separate session scripts for different platforms (and I would certainly consider Cygwin a separate platform altogether :-). For more information please refer to [issue #85] [issue_85].
337+
334338
## Contact
335339

336340
If you have questions, bug reports, suggestions, etc. the author can be contacted at <peter@peterodding.com>. The latest version is available at <http://peterodding.com/code/vim/notes/> and <http://github.com/xolox/vim-notes>. If you like the script please vote for it on [Vim Online] [vim_online].
@@ -351,6 +355,7 @@ This software is licensed under the [MIT license] [mit].
351355
[github-misc]: http://github.com/xolox/vim-misc
352356
[github-notes]: http://github.com/xolox/vim-notes
353357
[highlight]: http://vimdoc.sourceforge.net/htmldoc/syntax.html#:highlight
358+
[issue_85]: https://github.com/xolox/vim-session/issues/85
354359
[levenshtein]: http://en.wikipedia.org/wiki/Levenshtein_distance
355360
[mapleader]: http://vimdoc.sourceforge.net/htmldoc/map.html#mapleader
356361
[markdown]: http://en.wikipedia.org/wiki/Markdown

doc/notes.txt

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ Contents ~
4646
2. shell.vim |notes-shell.vim|
4747
3. VOoM |notes-voom|
4848
4. Txtfmt |notes-txtfmt|
49-
8. Contact |notes-contact|
50-
9. License |notes-license|
51-
10. References |notes-references|
49+
8. Using multiple platforms (multi boot, Cygwin, etc.) |notes-using-multiple-platforms|
50+
9. Contact |notes-contact|
51+
10. License |notes-license|
52+
11. References |notes-references|
5253

5354
===============================================================================
5455
*notes-introduction*
@@ -662,20 +663,31 @@ profile with the following contents:
662663
" Enable Txtfmt formatting inside notes.
663664
setlocal filetype=notes.txtfmt
664665
<
666+
===============================================================================
667+
*notes-using-multiple-platforms*
668+
Using multiple platforms (multi boot, Cygwin, etc.) ~
669+
670+
Session scripts cannot be shared between platforms because they contain
671+
absolute pathnames that most certainly won't match between e.g. Windows and
672+
Linux or even Windows and Cygwin. The best you can do is keep separate session
673+
scripts for different platforms (and I would certainly consider Cygwin a
674+
separate platform altogether :-). For more information please refer to issue
675+
#85 [17].
676+
665677
===============================================================================
666678
*notes-contact*
667679
Contact ~
668680

669681
If you have questions, bug reports, suggestions, etc. the author can be
670682
contacted at peter@peterodding.com. The latest version is available at
671683
http://peterodding.com/code/vim/notes/ and http://github.com/xolox/vim-notes.
672-
If you like the script please vote for it on Vim Online [17].
684+
If you like the script please vote for it on Vim Online [18].
673685

674686
===============================================================================
675687
*notes-license*
676688
License ~
677689

678-
This software is licensed under the MIT license [18]. © 2014 Peter Odding
690+
This software is licensed under the MIT license [19]. © 2014 Peter Odding
679691
<peter@peterodding.com>.
680692

681693
===============================================================================
@@ -698,7 +710,8 @@ References ~
698710
[14] http://www.vim.org/scripts/script.php?script_id=3123
699711
[15] http://www.vim.org/scripts/script.php?script_id=2657
700712
[16] http://www.vim.org/scripts/script.php?script_id=2208
701-
[17] http://www.vim.org/scripts/script.php?script_id=3375
702-
[18] http://en.wikipedia.org/wiki/MIT_License
713+
[17] https://github.com/xolox/vim-session/issues/85
714+
[18] http://www.vim.org/scripts/script.php?script_id=3375
715+
[19] http://en.wikipedia.org/wiki/MIT_License
703716

704717
vim: ft=help

0 commit comments

Comments
 (0)