Created
June 21, 2012 08:26
-
-
Save miya0001/2964581 to your computer and use it in GitHub Desktop.
vimrc
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
syntax on | |
set expandtab | |
set shiftwidth=4 | |
set tabstop=4 | |
set nobackup | |
set number | |
set termencoding=utf-8 | |
set encoding=utf-8 | |
set fileencodings=utf-8,euc-jp,sjis | |
set fileformat=unix | |
set showmatch | |
highlight ZenkakuSpace cterm=underline ctermfg=lightblue guibg=white | |
match ZenkakuSpace / / | |
highlight Comment ctermfg=white | |
augroup vimrcEx | |
autocmd! | |
autocmd BufReadPost * | |
\ if line("'\"") > 1 && line("'\"") <= line('$') | | |
\ exe "normal! g`\"" | | |
\ endif | |
augroup END | |
highlight WhitespaceEOL ctermbg=red guibg=red | |
match WhitespaceEOL /\s\+$/ | |
autocmd WinEnter * match WhitespaceEOL /\s\+$/ | |
autocmd FileType php :set dictionary=~/.vim/dict/wordpress.dict | |
set backspace=2 | |
set backspace=indent,eol,start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment