.vimrc 覚え書き

自分用。
Vim はやっぱ難しいわね。
hjkl とか移動コマンドは好きすぎるけど、如何せん慣れないわ。

set nocompatible

set autoindent
set backspace=indent,eol,start
set encoding=utf-8
set expandtab
set fileencodings=cp932,euc-jp,iso-2022-jp
set fileformat=unix
set foldclose=all
set foldcolumn=2
set foldenable
set formatoptions=t,c,r,o,q,2,v,b
set highlight="8:SpecialKey,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,r:Question,s:StatusLine,S:StatusLineNC,c:VertSplit,t:Title,v:Visual,w:WarningMsg,W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete,T:DiffText,:SignColumn,B:SpellBad,P:SpellCap,R:SpellRare,L:SpellLocal,+:Pmenu,=:PmenuSel,x:PmenuSbar,X:PmenuThumb"
set hlsearch
set icon
set incsearch
set list
set listchars=eol:$,tab:->,trail:-,extends:>,precedes:<
set number
set numberwidth=4
set ruler
set rulerformat=%l,%c
set shiftwidth=4
set showcmd
set smartindent
set smartcase
set smarttab
set tabstop=4
set whichwrap=b,s,h,l,<,>,[,]
set wrap

set nofsync
set nolinebreak

syntax on
filetype on
filetype indent on
filetype plugin on

nofsync は colinux から Windowsファイルシステム上へ書き込みを行うとき用。