1
- *usr_90.txt* For Vim version 9.1. Last change: 2024 Oct 05
1
+ *usr_90.txt* For Vim version 9.1. Last change: 2025 Mar 03
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -28,20 +28,18 @@ is installed in differs.
28
28
used. But this may be different for your system. Try finding out where other
29
29
packages are installed.
30
30
When installing for a single user, you can use your home directory as the
31
- base. The files will be placed in subdirectories like "bin" and "shared /vim".
31
+ base. The files will be placed in subdirectories like "bin" and "share /vim".
32
32
33
33
34
34
FROM A PACKAGE
35
35
36
- You can get precompiled binaries for many different UNIX systems. There is a
37
- long list with links on this page:
36
+ Depending on the Unix/Linux system used, there may exist pre-compiled binary
37
+ packages. You need to search for this. We used to keep a list for different
38
+ UNIX systems, but that list was outdated so the list was removed.
38
39
39
- http://www.vim.org/binaries.html
40
-
41
- Volunteers maintain the binaries, so they are often out of date. It is a
42
- good idea to compile your own UNIX version from the source. Also, creating
43
- the editor from the source allows you to control which features are compiled.
44
- This does require a compiler though.
40
+ It is a good idea to compile your own UNIX version from the source. Also,
41
+ creating the editor from the source allows you to control which features are
42
+ compiled. This does require a compiler though.
45
43
46
44
If you have a Linux distribution, the "vi" program is probably a minimal
47
45
version of Vim. It doesn't do syntax highlighting, for example. Try finding
@@ -52,23 +50,18 @@ FROM SOURCES
52
50
53
51
To compile and install Vim, you will need the following:
54
52
55
- - A C compiler (GCC preferred)
56
- - The GZIP program (you can get it from www.gnu.org )
57
- - The Vim source and runtime archives
53
+ - A C compiler (GCC or clang preferred)
54
+ - git (optionally, only when cloning from github)
55
+ - zip/unzip (to uncompress the archive)
56
+ - The Vim source archives
58
57
59
- To get the Vim archives, look in this file for a mirror near you, this should
60
- provide the fastest download:
58
+ To download the Vim source, you can either clone it from the Github project
59
+ page: >
60
+ git clone https://github.com/vim/vim.git
61
+ <
62
+ or download the archive directly using:
61
63
62
- ftp://ftp.vim.org/pub/vim/MIRRORS
63
-
64
- Or use the home site ftp.vim.org, if you think it's fast enough. Go to the
65
- "unix" directory and you'll find a list of files there. The version number is
66
- embedded in the file name. You will want to get the most recent version.
67
- You can get the files for Unix in one big archive that contains everything:
68
-
69
- vim-8.2.tar.bz2 ~
70
-
71
- You need the bzip2 program to uncompress it.
64
+ https://github.com/vim/vim/archive/refs/heads/master.zip
72
65
73
66
74
67
COMPILING
@@ -80,17 +73,12 @@ First create a top directory to work in, for example: >
80
73
81
74
Then unpack the archives there. You can unpack it like this: >
82
75
83
- tar xf path/vim-8.2.tar.bz2
84
-
85
- If your tar command doesn't support bz2 directly: >
86
-
87
- bzip2 -d -c path/vim-8.2.tar.bz2 | tar xf -
76
+ unzip vim-master.zip
88
77
89
- Change "path" to where you have downloaded the file.
90
78
If you are satisfied with getting the default features, and your environment
91
79
is setup properly, you should be able to compile Vim with just this: >
92
80
93
- cd vim82 /src
81
+ cd vim-master /src
94
82
make
95
83
96
84
The make program will run configure and compile everything. Further on we
0 commit comments