annotate runtime/doc/usr_90.txt @ 17309:bd871e780f34

Added tag v8.1.1653 for changeset d04de6c49f59969979870a4ee5bb8ac35991f1ee
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Jul 2019 22:15:05 +0200
parents 7e733046db1d
children 9b6bfce90778
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13963
1174611ad715 Vim 8.1 release
Christian Brabandt <cb@256bit.org>
parents: 10198
diff changeset
1 *usr_90.txt* For Vim version 8.1. Last change: 2008 Sep 10
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 VIM USER MANUAL - by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 Installing Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 *install*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 Before you can use Vim you have to install it. Depending on your system it's
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 simple or easy. This chapter gives a few hints and also explains how
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 upgrading to a new version is done.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 |90.1| Unix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 |90.2| MS-Windows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 |90.3| Upgrading
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 |90.4| Common installation issues
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 |90.5| Uninstalling Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 Previous chapter: |usr_45.txt| Select your language
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 Table of contents: |usr_toc.txt|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 *90.1* Unix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 First you have to decide if you are going to install Vim system-wide or for a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 single user. The installation is almost the same, but the directory where Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 is installed in differs.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 For a system-wide installation the base directory "/usr/local" is often
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 used. But this may be different for your system. Try finding out where other
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 packages are installed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 When installing for a single user, you can use your home directory as the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 base. The files will be placed in subdirectories like "bin" and "shared/vim".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 FROM A PACKAGE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 You can get precompiled binaries for many different UNIX systems. There is a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 long list with links on this page:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 http://www.vim.org/binaries.html ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 Volunteers maintain the binaries, so they are often out of date. It is a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 good idea to compile your own UNIX version from the source. Also, creating
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 the editor from the source allows you to control which features are compiled.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 This does require a compiler though.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 If you have a Linux distribution, the "vi" program is probably a minimal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 version of Vim. It doesn't do syntax highlighting, for example. Try finding
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 another Vim package in your distribution, or search on the web site.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 FROM SOURCES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 To compile and install Vim, you will need the following:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 - A C compiler (GCC preferred)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 - The GZIP program (you can get it from www.gnu.org)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 - The Vim source and runtime archives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 To get the Vim archives, look in this file for a mirror near you, this should
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 provide the fastest download:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 ftp://ftp.vim.org/pub/vim/MIRRORS ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 Or use the home site ftp.vim.org, if you think it's fast enough. Go to the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 "unix" directory and you'll find a list of files there. The version number is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 embedded in the file name. You will want to get the most recent version.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 You can get the files for Unix in two ways: One big archive that contains
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 everything, or four smaller ones that each fit on a floppy disk. For version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 6.1 the single big one is called:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 vim-6.1.tar.bz2 ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 You need the bzip2 program to uncompress it. If you don't have it, get the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 four smaller files, which can be uncompressed with gzip. For Vim 6.1 they are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 called:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 vim-6.1-src1.tar.gz ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 vim-6.1-src2.tar.gz ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 vim-6.1-rt1.tar.gz ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 vim-6.1-rt2.tar.gz ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 COMPILING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 First create a top directory to work in, for example: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 mkdir ~/vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 cd ~/vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 Then unpack the archives there. If you have the one big archive, you unpack
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 it like this: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 bzip2 -d -c path/vim-6.1.tar.bz2 | tar xf -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 Change "path" to where you have downloaded the file. >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 gzip -d -c path/vim-6.1-src1.tar.gz | tar xf -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 gzip -d -c path/vim-6.1-src2.tar.gz | tar xf -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 gzip -d -c path/vim-6.1-rt1.tar.gz | tar xf -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 gzip -d -c path/vim-6.1-rt2.tar.gz | tar xf -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 If you are satisfied with getting the default features, and your environment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 is setup properly, you should be able to compile Vim with just this: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 cd vim61/src
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 The make program will run configure and compile everything. Further on we
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 will explain how to compile with different features.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 If there are errors while compiling, carefully look at the error messages.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 There should be a hint about what went wrong. Hopefully you will be able to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 correct it. You might have to disable some features to make Vim compile.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 Look in the Makefile for specific hints for your system.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 TESTING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 Now you can check if compiling worked OK: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 make test
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 This will run a sequence of test scripts to verify that Vim works as expected.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 Vim will be started many times and all kinds of text and messages flash by.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 If it is alright you will finally see:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 test results: ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 ALL DONE ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
129 If you get "TEST FAILURE" some test failed. If there are one or two messages
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
130 about failed tests, Vim might still work, but not perfectly. If you see a lot
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
131 of error messages or Vim doesn't finish until the end, there must be something
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
132 wrong. Either try to find out yourself, or find someone who can solve it.
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
133 You could look in the |maillist-archive| for a solution. If everything else
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
134 fails, you could ask in the vim |maillist| if someone can help you.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 INSTALLING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 *install-home*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 If you want to install in your home directory, edit the Makefile and search
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 for a line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 #prefix = $(HOME) ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 Remove the # at the start of the line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 When installing for the whole system, Vim has most likely already selected
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 a good installation directory for you. You can also specify one, see below.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 You need to become root for the following.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 To install Vim do: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 make install
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 That should move all the relevant files to the right place. Now you can try
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 running vim to verify that it works. Use two simple tests to check if Vim can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 find its runtime files: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 :help
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 :syntax enable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 If this doesn't work, use this command to check where Vim is looking for the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 runtime files: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 :echo $VIMRUNTIME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 You can also start Vim with the "-V" argument to see what happens during
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 startup: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 vim -V
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 Don't forget that the user manual assumes you Vim in a certain way. After
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 installing Vim, follow the instructions at |not-compatible| to make Vim work
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 as assumed in this manual.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 SELECTING FEATURES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 Vim has many ways to select features. One of the simple ways is to edit the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 Makefile. There are many directions and examples. Often you can enable or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 disable a feature by uncommenting a line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 An alternative is to run "configure" separately. This allows you to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 specify configuration options manually. The disadvantage is that you have to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 figure out what exactly to type.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 Some of the most interesting configure arguments follow. These can also be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 enabled from the Makefile.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 --prefix={directory} Top directory where to install Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 --with-features=tiny Compile with many features disabled.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 --with-features=small Compile with some features disabled.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 --with-features=big Compile with more features enabled.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 --with-features=huge Compile with most features enabled.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 See |+feature-list| for which feature
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 is enabled in which case.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 --enable-perlinterp Enable the Perl interface. There are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 similar arguments for ruby, python and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 tcl.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 --disable-gui Do not compile the GUI interface.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 --without-x Do not compile X-windows features.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 When both of these are used, Vim will
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 not connect to the X server, which
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 makes startup faster.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 To see the whole list use: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 ./configure --help
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 You can find a bit of explanation for each feature, and links for more
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 information here: |feature-list|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 For the adventurous, edit the file "feature.h". You can also change the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 source code yourself!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 *90.2* MS-Windows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 There are two ways to install the Vim program for Microsoft Windows. You can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 uncompress several archives, or use a self-installing big archive. Most users
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 with fairly recent computers will prefer the second method. For the first
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 one, you will need:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 - An archive with binaries for Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 - The Vim runtime archive.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 - A program to unpack the zip files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 To get the Vim archives, look in this file for a mirror near you, this should
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 provide the fastest download:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 ftp://ftp.vim.org/pub/vim/MIRRORS ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 Or use the home site ftp.vim.org, if you think it's fast enough. Go to the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 "pc" directory and you'll find a list of files there. The version number is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 embedded in the file name. You will want to get the most recent version.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 We will use "61" here, which is version 6.1.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 gvim61.exe The self-installing archive.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 This is all you need for the second method. Just launch the executable, and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 follow the prompts.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 For the first method you must chose one of the binary archives. These are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 available:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 gvim61.zip The normal MS-Windows GUI version.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 gvim61ole.zip The MS-Windows GUI version with OLE support.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 Uses more memory, supports interfacing with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 other OLE applications.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 vim61w32.zip 32 bit MS-Windows console version. For use in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 a Win NT/2000/XP console. Does not work well
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 on Win 95/98.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 vim61d32.zip 32 bit MS-DOS version. For use in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 Win 95/98 console window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 vim61d16.zip 16 bit MS-DOS version. Only for old systems.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 Does not support long filenames.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 You only need one of them. Although you could install both a GUI and a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 console version. You always need to get the archive with runtime files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 vim61rt.zip The runtime files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 Use your un-zip program to unpack the files. For example, using the "unzip"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 program: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 cd c:\
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 unzip path\gvim61.zip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 unzip path\vim61rt.zip
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 This will unpack the files in the directory "c:\vim\vim61". If you already
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 have a "vim" directory somewhere, you will want to move to the directory just
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 above it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 Now change to the "vim\vim61" directory and run the install program: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 install
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 Carefully look through the messages and select the options you want to use.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 If you finally select "do it" the install program will carry out the actions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 you selected.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 The install program doesn't move the runtime files. They remain where you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 unpacked them.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 In case you are not satisfied with the features included in the supplied
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 binaries, you could try compiling Vim yourself. Get the source archive from
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 the same location as where the binaries are. You need a compiler for which a
16606
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
284 makefile exists. Microsoft Visual C works, but is expensive. The free MinGW
7e733046db1d patch 8.1.1306: Borland support is outdated and doesn't work
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
285 and Cygwin compilers can be used. Check the file src/INSTALLpc.txt for hints.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 *90.3* Upgrading
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 If you are running one version of Vim and want to install another, here is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 what to do.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 UNIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 When you type "make install" the runtime files will be copied to a directory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 which is specific for this version. Thus they will not overwrite a previous
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 version. This makes it possible to use two or more versions next to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 each other.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 The executable "vim" will overwrite an older version. If you don't care
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 about keeping the old version, running "make install" will work fine. You can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 delete the old runtime files manually. Just delete the directory with the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 version number in it and all files below it. Example: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 rm -rf /usr/local/share/vim/vim58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 There are normally no changed files below this directory. If you did change
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 the "filetype.vim" file, for example, you better merge the changes into the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 new version before deleting it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 If you are careful and want to try out the new version for a while before
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 switching to it, install the new version under another name. You need to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 specify a configure argument. For example: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 ./configure --with-vim-name=vim6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 Before running "make install", you could use "make -n install" to check that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 no valuable existing files are overwritten.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 When you finally decide to switch to the new version, all you need to do is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 to rename the binary to "vim". For example: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 mv /usr/local/bin/vim6 /usr/local/bin/vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 MS-WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 Upgrading is mostly equal to installing a new version. Just unpack the files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 in the same place as the previous version. A new directory will be created,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 e.g., "vim61", for the files of the new version. Your runtime files, vimrc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 file, viminfo, etc. will be left alone.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 If you want to run the new version next to the old one, you will have to do
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 some handwork. Don't run the install program, it will overwrite a few files
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 of the old version. Execute the new binaries by specifying the full path.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 The program should be able to automatically find the runtime files for the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 right version. However, this won't work if you set the $VIMRUNTIME variable
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 somewhere.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 If you are satisfied with the upgrade, you can delete the files of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 previous version. See |90.5|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 *90.4* Common installation issues
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 This section describes some of the common problems that occur when installing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 Vim and suggests some solutions. It also contains answers to many
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 installation questions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 Q: I Do Not Have Root Privileges. How Do I Install Vim? (Unix)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 Use the following configuration command to install Vim in a directory called
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 $HOME/vim: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 ./configure --prefix=$HOME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 This gives you a personal copy of Vim. You need to put $HOME/bin in your
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 path to execute the editor. Also see |install-home|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 Q: The Colors Are Not Right on My Screen. (Unix)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 Check your terminal settings by using the following command in a shell: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 echo $TERM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 If the terminal type listed is not correct, fix it. For more hints, see
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 |06.2|. Another solution is to always use the GUI version of Vim, called
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 gvim. This avoids the need for a correct terminal setup.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 Q: My Backspace And Delete Keys Don't Work Right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 The definition of what key sends what code is very unclear for backspace <BS>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 and Delete <Del> keys. First of all, check your $TERM setting. If there is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 nothing wrong with it, try this: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 :set t_kb=^V<BS>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 :set t_kD=^V<Del>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 In the first line you need to press CTRL-V and then hit the backspace key.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 In the second line you need to press CTRL-V and then hit the Delete key.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 You can put these lines in your vimrc file, see |05.1|. A disadvantage is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 that it won't work when you use another terminal some day. Look here for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 alternate solutions: |:fixdel|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 Q: I Am Using RedHat Linux. Can I Use the Vim That Comes with the System?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 By default RedHat installs a minimal version of Vim. Check your RPM packages
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 for something named "Vim-enhanced-version.rpm" and install that.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 Q: How Do I Turn Syntax Coloring On? How do I make plugins work?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 Use the example vimrc script. You can find an explanation on how to use it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 here: |not-compatible|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 See chapter 6 for information about syntax highlighting: |usr_06.txt|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 Q: What Is a Good vimrc File to Use?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 See the www.vim.org Web site for several good examples.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 Q: Where Do I Find a Good Vim Plugin?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 See the Vim-online site: http://vim.sf.net. Many users have uploaded useful
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 Vim scripts and plugins there.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 Q: Where Do I Find More Tips?
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 See the Vim-online site: http://vim.sf.net. There is an archive with hints
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 from Vim users. You might also want to search in the |maillist-archive|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 *90.5* Uninstalling Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 In the unlikely event you want to uninstall Vim completely, this is how you do
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 UNIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 When you installed Vim as a package, check your package manager to find out
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 how to remove the package again.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 If you installed Vim from sources you can use this command: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 make uninstall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 However, if you have deleted the original files or you used an archive that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 someone supplied, you can't do this. Do delete the files manually, here is an
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 example for when "/usr/local" was used as the root: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 rm -rf /usr/local/share/vim/vim61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 rm /usr/local/bin/eview
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 rm /usr/local/bin/evim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 rm /usr/local/bin/ex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 rm /usr/local/bin/gview
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 rm /usr/local/bin/gvim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 rm /usr/local/bin/gvim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 rm /usr/local/bin/gvimdiff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 rm /usr/local/bin/rgview
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 rm /usr/local/bin/rgvim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 rm /usr/local/bin/rview
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 rm /usr/local/bin/rvim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 rm /usr/local/bin/rvim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 rm /usr/local/bin/view
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 rm /usr/local/bin/vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 rm /usr/local/bin/vimdiff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 rm /usr/local/bin/vimtutor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 rm /usr/local/bin/xxd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 rm /usr/local/man/man1/eview.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 rm /usr/local/man/man1/evim.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 rm /usr/local/man/man1/ex.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 rm /usr/local/man/man1/gview.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 rm /usr/local/man/man1/gvim.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 rm /usr/local/man/man1/gvimdiff.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 rm /usr/local/man/man1/rgview.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 rm /usr/local/man/man1/rgvim.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 rm /usr/local/man/man1/rview.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 rm /usr/local/man/man1/rvim.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 rm /usr/local/man/man1/view.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 rm /usr/local/man/man1/vim.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 rm /usr/local/man/man1/vimdiff.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 rm /usr/local/man/man1/vimtutor.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 rm /usr/local/man/man1/xxd.1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 MS-WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 If you installed Vim with the self-installing archive you can run
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 the "uninstall-gui" program located in the same directory as the other Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 programs, e.g. "c:\vim\vim61". You can also launch it from the Start menu if
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 installed the Vim entries there. This will remove most of the files, menu
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 entries and desktop shortcuts. Some files may remain however, as they need a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 Windows restart before being deleted.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 You will be given the option to remove the whole "vim" directory. It
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 probably contains your vimrc file and other runtime files that you created, so
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 be careful.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 Else, if you installed Vim with the zip archives, the preferred way is to use
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 the "uninstal" program (note the missing l at the end). You can find it in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 the same directory as the "install" program, e.g., "c:\vim\vim61". This
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 should also work from the usual "install/remove software" page.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 However, this only removes the registry entries for Vim. You have to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 delete the files yourself. Simply select the directory "vim\vim61" and delete
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 it recursively. There should be no files there that you changed, but you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 might want to check that first.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 The "vim" directory probably contains your vimrc file and other runtime
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 files that you created. You might want to keep that.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 Table of contents: |usr_toc.txt|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496
14519
5c5908e81e93 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13963
diff changeset
497 Copyright: see |manual-copyright| vim:tw=78:ts=8:noet:ft=help:norl: