アットウィキロゴ

vim設定

自分のvim

" users generic .vimrc file for vim(1)
" When started as "evim", evim.vim will already have done these configuration.
if v:progname =~? "evim"
finish
endif

" Use Vim configurations, rather then Vi's one.
set nocompatible

" allow backspacing over everything in insert mode
set backspace=indent,eol,start

" keep 50 lines of command line history
set history=50

" show the cursor position all the time
set ruler

" display incomplete commands
set showcmd

" do incremental searching
set incsearch

" do syntax highlight
syntax on
set hlsearch

" set background color and text colorn (for black display)
if "cons25" == $TERM
hi Normal ctermbg=black ctermfg=white
endif

" do file encoding auto check
set fileencodings=iso-2022-jp,sjis

set number
set wrapscan
set title
set showmatch


参考になるページ



vim から sh に一時的に変わる方法

:sh
戻るには、Ctl+d


vim で、対応する閉じ括弧を表示

はじまりの括弧にカーソルを合わせた状態で、%
最終更新:2010年09月05日 20:55