Skip to content

Update usr_* #779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions doc/usr_05.jax
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Unix と Macintosh ではこのファイルを使ってください。

~/.vimrc ~

MS-DOS と MS-Windows では次のどちらかです。
MS-Windows では次のどちらかです。

$HOME/_vimrc ~
$VIM/_vimrc ~
Expand Down Expand Up @@ -493,7 +493,6 @@ Vim を起動すると、自動的にいくつものグローバルプラグイ
Amiga s:vimfiles/plugin
Macintosh $VIM:vimfiles:plugin
Mac OS X ~/.vim/plugin/
RISC-OS Choices:vimfiles.plugin

Unixの場合の例 (プラグインディレクトリがまだない場合) >

Expand Down Expand Up @@ -557,9 +556,9 @@ Vim の配布パッケージにはたくさんのファイルタイププラグ
した場合はうまく動きません。そのファイルは "otherstuff" というファイルタイプの
ときにだけロードされます。

MS-DOS では長いファイル名が使えません。プラグインを追加するときに、ファイルタ
イプ名が 6 文字以上だと問題が生じます。そういうときはさらにディレクトリを掘っ
てください: >
MS-DOS ライクなファイルシステムでは長いファイル名が使えません。プラグインを追
加するときに、ファイルタイプ名が 6 文字以上だと問題が生じます。そういうときは
さらにディレクトリを掘ってください: >

mkdir $VIM/vimfiles/ftplugin/fortran
copy thefile $VIM/vimfiles/ftplugin/fortran/too.vim
Expand Down Expand Up @@ -608,7 +607,7 @@ Note: ファイルの拡張子は必ず ".vim" にしてください。
:!mkdir ~/.vim/plugin
:!cp /tmp/doit.vim ~/.vim/plugin

"cp" は Unix のコマンドです。MS-DOS では "copy" を使ってください。
"cp" は Unix のコマンドです。MS-Windows では "copy" を使ってください。

次に 'runtimepath' のいずれかのディレクトリに "doc" ディレクトリを作ります。 >

Expand Down
5 changes: 4 additions & 1 deletion doc/usr_11.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*usr_11.txt* For Vim バージョン 8.2. Last change: 2019 Apr 28
*usr_11.txt* For Vim バージョン 8.2. Last change: 2020 Jan 17

VIM USER MANUAL - by Bram Moolenaar

Expand Down Expand Up @@ -223,6 +223,9 @@ NOTE 以下の状況では、Vimはスワップファイルが有用ではない
- ファイル変更済みのフラグが立っていない。
- プロセスが実行中でない。

|FileChangedShell| 自動コマンドを使うと、この状況にプログラム的に対処すること
ができます。


読めないスワップファイル
------------------------
Expand Down
4 changes: 2 additions & 2 deletions doc/usr_23.jax
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
インフィード。<LF>) で用紙を送っていたのです。
コンピュータが登場した頃は記憶装置がとても高価だったので、改行のために二文字も
使う必要はないと考える人たちがいました。UNIX の人々は <LF> だけを使って改行す
ることに決めました。Apple の人々は <CR> を標準としました。MS-DOS (と Microsoft
Windows) の人々は <CR><LF> を使い続けました。
ることに決めました。Apple の人々は <CR> を標準としました。Microsoft Windows の
人々は古い <CR><LF> を使い続けました。
このような事情により、異なるシステム間でファイルを交換するときには改行文字の非
互換が問題になります。Vim はファイル形式を自動的に認識し、それを適切に処理する
ことができます。
Expand Down
4 changes: 2 additions & 2 deletions doc/usr_24.jax
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ Pd は Pound (ポンド) の略です。ほとんどのダイグラフには、

Note:
ダイグラフはユーザーが使っている (と Vim が認識している) 文字セットに
依存します。MS-DOS の文字セットと MS-Windows の文字セットは違います。
":digraphs" を使って、利用可能なダイグラフを確認してください
依存します。":digraphs" を使って、利用可能なダイグラフを確認してくださ

自分でダイグラフを定義することもできます。例: >

Expand Down
4 changes: 2 additions & 2 deletions doc/usr_27.jax
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
ターンが使えなくなってしまうかもしれません。

Note:
検索がなかなか終わらない場合は CTRL-C (Unix) または CTRL-Break (MS-DOS
MS-Windows) で処理を中断できます。
検索がなかなか終わらない場合は CTRL-C (Unix) または CTRL-Break
(MS-Windows) で処理を中断できます。

==============================================================================
*27.2* ファイルの端で折り返す
Expand Down
11 changes: 5 additions & 6 deletions en/usr_05.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ For Unix and Macintosh this file is always used and is recommended:

~/.vimrc ~

For MS-DOS and MS-Windows you can use one of these:
For MS-Windows you can use one of these:

$HOME/_vimrc ~
$VIM/_vimrc ~
Expand Down Expand Up @@ -476,7 +476,6 @@ Then copy the file to your plugin directory:
Amiga s:vimfiles/plugin
Macintosh $VIM:vimfiles:plugin
Mac OS X ~/.vim/plugin/
RISC-OS Choices:vimfiles.plugin

Example for Unix (assuming you didn't have a plugin directory yet): >

Expand Down Expand Up @@ -535,9 +534,9 @@ The underscore is used to separate the name of the filetype from the rest,
which can be anything. If you use "otherstuff.vim" it wouldn't work, it would
be loaded for the "otherstuff" filetype.

On MS-DOS you cannot use long filenames. You would run into trouble if you
add a second plugin and the filetype has more than six characters. You can
use an extra directory to get around this: >
On MS-DOS like filesystems you cannot use long filenames. You would run into
trouble if you add a second plugin and the filetype has more than six
characters. You can use an extra directory to get around this: >

mkdir $VIM/vimfiles/ftplugin/fortran
copy thefile $VIM/vimfiles/ftplugin/fortran/too.vim
Expand Down Expand Up @@ -586,7 +585,7 @@ the "mkdir" commands if you already have the directory.) >
:!mkdir ~/.vim/plugin
:!cp /tmp/doit.vim ~/.vim/plugin

The "cp" command is for Unix, on MS-DOS you can use "copy".
The "cp" command is for Unix, on MS-Windows you can use "copy".

Now create a "doc" directory in one of the directories in 'runtimepath'. >

Expand Down
7 changes: 5 additions & 2 deletions en/usr_11.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*usr_11.txt* For Vim version 8.2. Last change: 2019 Apr 28
*usr_11.txt* For Vim version 8.2. Last change: 2020 Jan 17

VIM USER MANUAL - by Bram Moolenaar

Expand Down Expand Up @@ -211,8 +211,11 @@ will automatically delete it:
- The flag that the file was modified is not set.
- The process is not running.

You can programatically deal with this situation with the |FileChangedShell|
autocommand event.

UNREADABLE SWAP FILE

UNREADABLE SWAP FILE ~

Sometimes the line

Expand Down
4 changes: 2 additions & 2 deletions en/usr_23.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ start a new line. One to move the carriage back to the first position
When computers came out, storage was expensive. Some people decided that
they did not need two characters for end-of-line. The UNIX people decided
they could use <Line Feed> only for end-of-line. The Apple people
standardized on <CR>. The MS-DOS (and Microsoft Windows) folks decided to
keep the old <CR><LF>.
standardized on <CR>. The Microsoft Windows folks decided to keep
the old <CR><LF>.
This means that if you try to move a file from one system to another, you
have line-break problems. The Vim editor automatically recognizes the
different file formats and handles things properly behind your back.
Expand Down
4 changes: 2 additions & 2 deletions en/usr_24.txt
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,8 @@ that combination. Thus CTRL-K dP also works. Since there is no digraph for

Note:
The digraphs depend on the character set that Vim assumes you are
using. On MS-DOS they are different from MS-Windows. Always use
":digraphs" to find out which digraphs are currently available.
using. Always use ":digraphs" to find out which digraphs are currently
available.

You can define your own digraphs. Example: >

Expand Down
2 changes: 1 addition & 1 deletion en/usr_27.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ matter if 'ignorecase' or 'smartcase' was changed.

Note:
If your search takes much longer than you expected, you can interrupt
it with CTRL-C on Unix and CTRL-Break on MS-DOS and MS-Windows.
it with CTRL-C on Unix and CTRL-Break on MS-Windows.

==============================================================================
*27.2* Wrapping around the file end
Expand Down