Skip to content

Commit c3cab55

Browse files
authored
Merge pull request #1972 from h-east/update-usr_90
Update usr_90.{txt,jax}
2 parents 882e2ed + c3b2de4 commit c3cab55

File tree

2 files changed

+41
-65
lines changed

2 files changed

+41
-65
lines changed

doc/usr_90.jax

Lines changed: 21 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_90.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05
1+
*usr_90.txt* For Vim バージョン 9.1. Last change: 2025 Mar 03
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -27,20 +27,19 @@ Vim を使うにはまずインストールする必要があります。シス
2727
が使われます。ただし、これはシステムによって異なります。インストールされている
2828
他のパッケージを参考にするなどして調べてください。
2929
自分一人で使う場合は、例えばホームディレクトリをベースディレクトリにします。
30-
ファイルはその下の "bin" や "shared/vim" などに置かれます。
30+
ファイルはその下の "bin" や "share/vim" などに置かれます。
3131

3232

3333
☆パッケージからインストール
3434

35-
Unix システムごとにコンパイル済みバイナリが用意されています。次のページにパッ
36-
ケージへのリンクが一覧されています:
35+
使用する Unix/Linux システムによっては、コンパイル済みのバイナリパッケージが存
36+
在する場合があります。これについては検索する必要があります。以前はさまざまな
37+
UNIX システムのリストを保持していましたが、そのリストは古くなったため削除され
38+
ました。
3739

38-
http://www.vim.org/binaries.html
39-
40-
バイナリのメンテナンスはボランティアベースなので、古いままになっていることが
41-
多々あります。自分でソースからコンパイルする方が無難です。自分でコンパイルする
42-
ことによって組み込む機能をコントロールできるようにもなります。それが必要な場合
43-
はどのみちコンパイルが必要です。
40+
ソースから独自の UNIX バージョンをコンパイルすることをお勧めします。また、ソー
41+
スからエディタを作成すると、コンパイルする機能を制御できます。ただし、これには
42+
コンパイラが必要です。
4443

4544
Linux を使っている場合、"vi" はおそらく最小構成の Vim です。それには例えば構文
4645
強調表示などの機能はありません。そのディストリビューションから別の Vim パッ
@@ -52,24 +51,18 @@ Linux を使っている場合、"vi" はおそらく最小構成の Vim です
5251

5352
Vim をコンパイルしてインストールするには、次のものが必要です:
5453

55-
- C コンパイラ (GCCが望ましい)
56-
- GZIP プログラム (www.gnu.org から入手可能)
57-
- Vim のソースとランタイムのアーカイブ
54+
- C コンパイラ (GCC または Clang が望ましい)
55+
- git (オプション、github からクローンする場合のみ)
56+
- zip/unzip (アーカイブを解凍する)
57+
- Vim のソースアーカイブ
5858

59-
Vim のアーカイブを入手するには、次のファイルを見てダウンロード速度が最も早いで
60-
あろう近くのミラーを探してください:
61-
62-
ftp://ftp.vim.org/pub/vim/MIRRORS
59+
Vim のソースをダウンロードするには、Github プロジェクトページからクローンを作
60+
成するか: >
61+
git clone https://github.com/vim/vim.git
62+
<
63+
または、以下を使用してアーカイブを直接ダウンロードします:
6364

64-
Vim のホームサイト ftp.vim.org で十分な速度が出るならそれでも構いません。
65-
"unix" ディレクトリにファイルが入っています。バージョン番号はファイル名に埋め
66-
込まれています。特に事情がなければ最新のバージョンをダウンロードしてください。
67-
Unix 用のすべてのファイルが含まれた一つの大きなアーカイブをダウンロードできま
68-
す:
69-
70-
vim-8.2.tar.bz2 ~
71-
72-
このアーカイブの展開には "bzip2" が必要です。
65+
https://github.com/vim/vim/archive/refs/heads/master.zip
7366

7467

7568
☆コンパイル
@@ -81,17 +74,12 @@ Unix 用のすべてのファイルが含まれた一つの大きなアーカイ
8174
8275
この場所でアーカイブを展開します。次のようにして展開できます: >
8376
84-
tar xf path/vim-8.2.tar.bz2
85-
86-
もし使用している tar コマンドが bz2 に直接対応していない場合は: >
87-
88-
bzip2 -d -c path/vim-8.2.tar.bz2 | tar xf -
77+
unzip vim-master.zip
8978
90-
"path" の部分はファイルをダウンロードした場所に変更してください。
9179
欲しいのがデフォルトの機能だけで、環境が適切に設定されているのであれば、次のコ
9280
マンドを実行するだけでコンパイルできます: >
9381
94-
cd vim82/src
82+
cd vim-master/src
9583
make
9684
9785
make プログラムによって configure とコンパイルが実行されます。設定を変更してコ

en/usr_90.txt

Lines changed: 20 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -28,20 +28,18 @@ is installed in differs.
2828
used. But this may be different for your system. Try finding out where other
2929
packages are installed.
3030
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".
3232

3333

3434
FROM A PACKAGE
3535

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.
3839

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.
4543

4644
If you have a Linux distribution, the "vi" program is probably a minimal
4745
version of Vim. It doesn't do syntax highlighting, for example. Try finding
@@ -52,23 +50,18 @@ FROM SOURCES
5250

5351
To compile and install Vim, you will need the following:
5452

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
5857

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:
6163

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
7265

7366

7467
COMPILING
@@ -80,17 +73,12 @@ First create a top directory to work in, for example: >
8073
8174
Then unpack the archives there. You can unpack it like this: >
8275
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
8877
89-
Change "path" to where you have downloaded the file.
9078
If you are satisfied with getting the default features, and your environment
9179
is setup properly, you should be able to compile Vim with just this: >
9280
93-
cd vim82/src
81+
cd vim-master/src
9482
make
9583
9684
The make program will run configure and compile everything. Further on we

0 commit comments

Comments
 (0)