head	2.3;
access;
symbols;
locks
	aki:2.3; strict;
comment	@# @;


2.3
date	2009.11.11.12.29.47;	author aki;	state Exp;
branches;
next	2.2;

2.2
date	2006.10.24.00.56.14;	author aki;	state Exp;
branches;
next	2.1;

2.1
date	2005.06.20.07.15.04;	author aki;	state Exp;
branches;
next	1.1;

1.1
date	2005.06.20.00.41.08;	author aki;	state Exp;
branches;
next	;


desc
@@


2.3
log
@*** empty log message ***
@
text
@" This file is edited by k-square for Cygwin.
" 
"
" http://www2.raidway.ne.jp/~yzone/dists/cygwin/vim/
" $YZDist: vimrc,v 1.30 2002/02/18 12:46:00 yzone Exp $
"
" * Un*x terminal, GVim/X11
" * Win32 command prompt, GVim/Win32
" * Cygwin console
"
" vim:set ts=8 sw=2 number:

set tags=./tags,$BASE/tags,$BASE/../tags

map <F2> <Esc>:new<CR>:Explore<CR>
map <F10> <Esc>:noh<CR>

set viminfo='20,\"50
set statusline=[%n]\ %f\ %(\ %M%R%H)%)\=Pos=<%l\,%c%V>\ ASCII=%b\ HEX=%B
set autowrite nobackup nowritebackup
set autoindent smartindent
set showmatch warn
" set showcmd ruler
" set paste
set ttyfast
set wrap wrapscan
set wildmenu
set title nolist listchars=tab:>-
set ts=8 sts=8 sw=8 smarttab noexpandtab
set backspace=2 scrolloff=2 cmdheight=1 laststatus=2
set updatecount=0
set ignorecase smartcase
set mouse=a nomousefocus mousehide
set suffixes+=.orig,.rej,.class,.exe,.bin
set shellslash norestorescreen noerrorbells
set wildmode=longest,list
set formatoptions+=m

" do not restore screen
set t_ti= t_te=
" color
"let $LANG='ja_JP.SJIS'
"let $LC_MESSAGES='C'

if version >= 600
  " 6.0v later
  set enc=japan
  set fencs=iso-2022-jp,utf-8,utf-16,ucs-2-internal,ucs-2
  set fileencoding=iso-2022-jp
  set fencs+=euc-jp,cp932
  autocmd BufNewFile * set fileencoding=iso-2022-jp
  function! FileStatus()
    let str = ''
    let str = str . '[' . &fileformat . ']'
    if has('multi_byte') && &fileencoding != ''
      let str = str . '[' . &fileencoding . ']'
    endif
    return str
  endfunction
  set statusline=[%n]\ %f\ %(\ %M%R%H)%)\=%{FileStatus()}\ Pos=<%l\,%c%V>\ ASCII=%b\ HEX=%B
else
  set fileencoding=japan
endif


" Don't use Ex mode, use Q for formatting
map Q gq

augroup cprog
  " Remove all cprog autocommands
  au!
  autocmd BufRead * set formatoptions=tcql nocindent comments&
  autocmd BufRead *.c,*.h,*.cc,*.cpp,*.mak,*.pc,*.mk,*.java set ts=4 sw=4 number cindent formatoptions=croql cindent comments=sr:/*,mb:*,el:*/,://
augroup END

" vim -b : edit binary using xxd-format!
augroup Binary
  au!
  au BufReadPre  *.bin let &bin=1
  au BufReadPost *.bin if &bin | %!xxd
  au BufReadPost *.bin set ft=xxd | endif
  au BufWritePre *.bin if &bin | %!xxd -r
  au BufWritePre *.bin endif
  au BufWritePost *.bin if &bin | %!xxd
  au BufWritePost *.bin set nomod | endif
augroup END

autocmd BufRead *.txt set tw=78

" Any script files, set shiftwidth
autocmd BufReadPost * if &ft=='vim' | set ts=2 sw=2 number | endif
autocmd BufReadPost * if &ft=='sh' | set ts=4 sw=4 number | endif
autocmd BufReadPost * if &ft=='rc' | set ts=4 sw=4 number | endif

" disable C++ keywords for Java sources
let java_allow_cpp_keywords=0

let skk_large_jisyo="/tmp/SKK-JISYO.L"
let skk_keep_state=1
let skk_show_annotation=1
@


2.2
log
@*** empty log message ***
@
text
@d98 3
@


2.1
log
@*** empty log message ***
@
text
@d1 97
a97 5
set nows ic autowrite nowrap nowrapscan
set enc=cp932
set fencs=iso-2022-jp,utf-8,utf-16,ucs-2-internal,ucs-2
set fileencoding=cp932
set fencs+=euc-jp,cp932 
@


1.1
log
@Initial revision
@
text
@d1 5
a5 97
" This file is edited by k-square for Cygwin.
" 
"
" http://www2.raidway.ne.jp/~yzone/dists/cygwin/vim/
" $YZDist: vimrc,v 1.30 2002/02/18 12:46:00 yzone Exp $
"
" * Un*x terminal, GVim/X11
" * Win32 command prompt, GVim/Win32
" * Cygwin console
"
" vim:set ts=8 sw=2 number:

set tags=./tags,$BASE/tags,$BASE/../tags

map <F2> <Esc>:new<CR>:Explore<CR>
map <F10> <Esc>:noh<CR>

set viminfo='20,\"50
set statusline=[%n]\ %f\ %(\ %M%R%H)%)\=Pos=<%l\,%c%V>\ ASCII=%b\ HEX=%B
set autowrite nobackup nowritebackup
set autoindent smartindent
set showmatch warn
" set showcmd ruler
" set paste
set ttyfast
set wrap wrapscan
set wildmenu
set title nolist listchars=tab:>-
set ts=8 sts=8 sw=8 smarttab noexpandtab
set backspace=2 scrolloff=2 cmdheight=1 laststatus=2
set updatecount=0
set ignorecase smartcase
set mouse=a nomousefocus mousehide
set suffixes+=.orig,.rej,.class,.exe,.bin
set shellslash norestorescreen noerrorbells
set wildmode=longest,list
set formatoptions+=m

" do not restore screen
set t_ti= t_te=
" color
"let $LANG='ja_JP.SJIS'
"let $LC_MESSAGES='C'

if version >= 600
  " 6.0v later
  set enc=japan
  set fencs=iso-2022-jp,utf-8,utf-16,ucs-2-internal,ucs-2
  set fileencoding=iso-2022-jp
  set fencs+=euc-jp,cp932
  autocmd BufNewFile * set fileencoding=iso-2022-jp
  function! FileStatus()
    let str = ''
    let str = str . '[' . &fileformat . ']'
    if has('multi_byte') && &fileencoding != ''
      let str = str . '[' . &fileencoding . ']'
    endif
    return str
  endfunction
  set statusline=[%n]\ %f\ %(\ %M%R%H)%)\=%{FileStatus()}\ Pos=<%l\,%c%V>\ ASCII=%b\ HEX=%B
else
  set fileencoding=japan
endif


" Don't use Ex mode, use Q for formatting
map Q gq

augroup cprog
  " Remove all cprog autocommands
  au!
  autocmd BufRead * set formatoptions=tcql nocindent comments&
  autocmd BufRead *.c,*.h,*.cc,*.cpp,*.mak,*.pc,*.mk,*.java set ts=4 sw=4 number cindent formatoptions=croql cindent comments=sr:/*,mb:*,el:*/,://
augroup END

" vim -b : edit binary using xxd-format!
augroup Binary
  au!
  au BufReadPre  *.bin let &bin=1
  au BufReadPost *.bin if &bin | %!xxd
  au BufReadPost *.bin set ft=xxd | endif
  au BufWritePre *.bin if &bin | %!xxd -r
  au BufWritePre *.bin endif
  au BufWritePost *.bin if &bin | %!xxd
  au BufWritePost *.bin set nomod | endif
augroup END

autocmd BufRead *.txt set tw=78

" Any script files, set shiftwidth
autocmd BufReadPost * if &ft=='vim' | set ts=2 sw=2 number | endif
autocmd BufReadPost * if &ft=='sh' | set ts=4 sw=4 number | endif
autocmd BufReadPost * if &ft=='rc' | set ts=4 sw=4 number | endif

" disable C++ keywords for Java sources
let java_allow_cpp_keywords=0

@
