.vimrc
:set tabstop=4
:set autoindent

:syntax enable
:set encoding=japan

"バックスペースで文字を消す。
map! ^H ^[s
map ^H hx

""""""""""""""""""""""""""""""
"ファイルを開いたら前回のカーソル位置へ移動
""""""""""""""""""""""""""""""
augroup vimrcEx
   autocmd!
   autocmd BufReadPost *
   \ if line("'\"") > 1 && line("'\"") <= line('$') |
   \   exe "normal! g`\"" |
   \ endif
augroup END

タグ:

+ タグ編集
  • タグ:

このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー利用規約 が適用されます。

最終更新:2009年05月13日 23:06