Vim/Vim Script/Basic/制御構文

if

if a == b
  " 何か処理
elseif c == b
  " 何か処理
endif