diff runtime/doc/starting.txt @ 8:7edf9b6e4c36

Various changes
author vimboss
date Wed, 16 Jun 2004 11:19:22 +0000
parents 3fc0f57ecb91
children 4102fb4ea781
line wrap: on
line diff
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt*  For Vim version 7.0aa.  Last change: 2004 May 28
+*starting.txt*  For Vim version 7.0aa.  Last change: 2004 Jun 15
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1019,6 +1019,11 @@ Once Vim has done this once, it will set
 To change it later, use a ":let" command like this: >
 	:let $VIMRUNTIME = "/home/piet/vim/vim54"
 
+In case you need the value of $VIMRUNTIME in a shell (e.g., for a script that
+greps in the help files) you might be able to use this: >
+
+	VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
+
 ==============================================================================
 6. Suspending						*suspend*