Created
April 2, 2010 16:35
-
-
Save upsilon/353343 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" シフト移動幅 | |
set shiftwidth=2 | |
" タブ幅 | |
set tabstop=2 | |
" タブをスペースにして入力 | |
set expandtab | |
" 行番号を表示 | |
set number | |
" 新しい行のインデントを現在行と同じに | |
set autoindent | |
" →や⑨などの文字幅がおかしくなる現象を回避 | |
set ambiwidth=double | |
syntax enable | |
" GUI用の設定 (配色 ・ フォント) | |
autocmd GUIEnter * set guifont="Bitstream Vera Sans Mono 10" | |
" バックアップファイル置き場 | |
set backupdir=~/.vim/backup | |
" スワップファイル置き場 | |
set directory=~/.vim/swap | |
set tags=~/.tags | |
set complete=.,w,b,u,t,i | |
" -- 言語別設定(Java) | |
" Java言語の標準のクラス名をハイライト | |
let java_highlight_all=1 | |
" デバッグ文のハイライト | |
let java_highlight_debug=1 | |
" 余分な空白に対してハイライト | |
let java_space_errors=1 | |
" メソッド宣言文をハイライト | |
let java_highlight_functions=1 | |
" ChangeLog設定 | |
au BufRead,BufNewFile ChangeLog set noexpandtab | |
let g:changelog_timeformat = "%Y-%m-%d" | |
let g:changelog_username = "upsilon" | |
" Makefile設定 | |
au BufRead,BufNewFile Makefile set noexpandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gistの使い方に悩んだ結果こうなった