File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -47,6 +47,14 @@ MS-DOS と MS-Windows では次のどちらかです。
47
47
$HOME/_vimrc ~
48
48
$VIM/_vimrc ~
49
49
50
+ もし初めて vimrc ファイルを作るのであれば、次の 1 行を先頭に記述するのがよいで
51
+ しょう: >
52
+
53
+ source $VIMRUNTIME/defaults.vim
54
+
55
+ これは Vim を (従来の Vi ユーザー向けではなく) 新規ユーザー向けに初期化しま
56
+ す。詳細については | defaults.vim | を参照してください。
57
+
50
58
vimrc ファイルには、コロン (:) を押してから入力するコマンドなら、どのコマンド
51
59
でも書くことができます。一番わかりやすいのはオプション設定です。例えば、毎回
52
60
'incsearch' オプションをオンに設定したい場合は、vimrc ファイルに次の一行を加え
Original file line number Diff line number Diff line change 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
2
2
3
3
VIM USER MANUAL - by Bram Moolenaar
4
4
@@ -48,6 +48,14 @@ For MS-DOS and MS-Windows you can use one of these:
48
48
$HOME/_vimrc ~
49
49
$VIM/_vimrc ~
50
50
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
+
51
59
The vimrc file can contain all the commands that you type after a colon. The
52
60
most simple ones are for setting options. For example, if you want Vim to
53
61
always start with the 'incsearch' option on, add this line your vimrc file: >
You can’t perform that action at this time.
0 commit comments