Skip to content

Commit 0c56bb0

Browse files
authored
Merge pull request #238 from mnishz/usr_05_for_Vim_8.1
Update usr_05 from Vim 8.0 to 8.1
2 parents 9d99002 + b3781b8 commit 0c56bb0

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

doc/usr_05.jax

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_05.txt* For Vim バージョン 8.0. Last change: 2016 Mar 28
1+
*usr_05.txt* For Vim バージョン 8.1. Last change: 2018 Feb 20
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -47,6 +47,14 @@ MS-DOS と MS-Windows では次のどちらかです。
4747
$HOME/_vimrc ~
4848
$VIM/_vimrc ~
4949

50+
もし初めて vimrc ファイルを作るのであれば、次の 1 行を先頭に記述するのがよいで
51+
しょう: >
52+
53+
source $VIMRUNTIME/defaults.vim
54+
55+
これは Vim を (従来の Vi ユーザー向けではなく) 新規ユーザー向けに初期化しま
56+
す。詳細については |defaults.vim| を参照してください。
57+
5058
vimrc ファイルには、コロン (:) を押してから入力するコマンドなら、どのコマンド
5159
でも書くことができます。一番わかりやすいのはオプション設定です。例えば、毎回
5260
'incsearch' オプションをオンに設定したい場合は、vimrc ファイルに次の一行を加え

en/usr_05.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_05.txt* For Vim version 8.0. Last change: 2016 Mar 28
1+
*usr_05.txt* For Vim version 8.1. Last change: 2018 Feb 20
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -48,6 +48,14 @@ For MS-DOS and MS-Windows you can use one of these:
4848
$HOME/_vimrc ~
4949
$VIM/_vimrc ~
5050

51+
If you are creating the vimrc file for the first time, it is recommended to
52+
put this line at the top: >
53+
54+
source $VIMRUNTIME/defaults.vim
55+
56+
This initializes Vim for new users (as opposed to traditional Vi users). See
57+
|defaults.vim| for the details.
58+
5159
The vimrc file can contain all the commands that you type after a colon. The
5260
most simple ones are for setting options. For example, if you want Vim to
5361
always start with the 'incsearch' option on, add this line your vimrc file: >

0 commit comments

Comments
 (0)