いつも忘れるので、備忘録。vimの初期設定として、cd ~ でユーザーのホームディレクトリに移動後、.vimrcファイルを作成し、以下内容で保存する。
set nocompatible
set number
set title
set ruler
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set noexpandtab
set backspace=indent,eol,start
set mouse=a
これでようやく作業に入れます。
コメント