Skip to content

Commit 5ca544b

Browse files
committed
Update starting.{txt,jax}
1 parent 0e50ed4 commit 5ca544b

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

doc/starting.jax

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim バージョン 9.1. Last change: 2024 Sep 05
1+
*starting.txt* For Vim バージョン 9.1. Last change: 2024 Sep 15
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1041,13 +1041,14 @@ $VIMRUNTIME/defaults.vim スクリプトが読みこまれる。このスクリ
10411041
はなく 7.4.2111 から導入された。
10421042

10431043
これはVimの新規ユーザーにとって良く機能する。自分で .vimrc を作る際には、その
1044-
最上部のほうに以下の2行を追加することが推奨される: >
1044+
最上部のほうに以下の 2 行を追加することが推奨される: >
10451045
unlet! skip_defaults_vim
10461046
source $VIMRUNTIME/defaults.vim
1047-
$VIMRUNTIME/vimrc_example をコピーすることでも、同じことができる。他の方法
1048-
として、defaults.vim 自体をあなたの .vimrc にコピーし、変更をすることもできる。
1049-
(ただしこの方法では、将来 defaults.vim が変更された際に、そのアップデートは反
1050-
映されない)
1047+
すると、Vim は .vimrc を作成する前と同じように動作する。
1048+
$VIMRUNTIME/vimrc_example.vim を .vimrc にコピーするのも、これを行う別の方法で
1049+
ある。他の方法として、defaults.vim 自体を .vimrc にコピーし、変更をすることも
1050+
できる。(ただしこの方法では、将来 defaults.vim が変更された際に、そのアップデー
1051+
トは反映されない)
10511052

10521053
もしも defaults.vim の一部が気に入らない場合でも、まず defaults.vim を読み込ん
10531054
でから、個々の設定を変更することができる。個別の項目をどのように変更するべきか

en/starting.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 9.1. Last change: 2024 Sep 05
1+
*starting.txt* For Vim version 9.1. Last change: 2024 Sep 15
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1077,9 +1077,10 @@ This should work well for new Vim users. If you create your own .vimrc, it is
10771077
recommended to add these lines somewhere near the top: >
10781078
unlet! skip_defaults_vim
10791079
source $VIMRUNTIME/defaults.vim
1080-
Then Vim works like before you had a .vimrc. Copying $VIMRUNTIME/vimrc_example
1081-
is way to do this. Alternatively, you can copy defaults.vim to your .vimrc
1082-
and modify it (but then you won't get updates when it changes).
1080+
Then Vim works like before you had a .vimrc.
1081+
Copying $VIMRUNTIME/vimrc_example.vim to your .vimrc is another way to do
1082+
this. Alternatively, you can copy defaults.vim to your .vimrc and modify it
1083+
(but then you won't get updates when it changes).
10831084

10841085
If you don't like some of the defaults, you can still source defaults.vim and
10851086
revert individual settings. See the defaults.vim file for hints on how to

0 commit comments

Comments
 (0)