set cursorline
set nobackup
set nocompatible
set number
set wrap
set encoding=utf-8
set laststatus=2カーソルがある行を強調表示する。
set cursorlineバックアップファイルを保存しない。
set nobackupVimの前身となるテキスト編集器であるViとの互換性を無効化する。この設定を無効化することで、想定していない問題を未然に回避できる。
set nocompatible各行の先頭にその行番号を表示する。
set number画面の幅より長い行を折り返して、残りを次の行に表示する。
set wrap文字エンコードをUTF-8に設定する。
set encoding=utf-8常にステータス行を表示する。
set laststatus=2filetype on
filetype plugin on
filetype indent onファイル型を検出する。
filetype on検出されたファイル型に応じてプラグインを読み込む。
filetype plugin on検出されたファイル型に応じてインデントを読み込む。
filetype indent onsyntax enable構文ハイライトを有効化する。
syntax enableset cursorline
set nobackup
set nocompatible
set number
set wrap
set encoding=utf-8
set laststatus=2Highlight the line the cursor exists.
set cursorlineDo not save backup files.
set nobackupDisable compatibility with Vi, a text editor on which Vim bases. By disabling this configuration, you can avoid unexpected issues.
set nocompatiblePrecede each line with its line number.
set numberWrap lines longer than the width of the window and display the rest on the next line.
set wrapConfigure the character encoding to UTF-8.
set encoding=utf-8Always display the status line.
set laststatus=2Enable syntax highlighting.
syntax enablefiletype on
filetype plugin on
filetype indent onDetect filetypes.
filetype onLoad plugins based on the detected filetype.
filetype plugin onLoad indents based on the detected filetype.
filetype indent onsyntax enableEnable syntax highlighting.
syntax enable