Last active
December 15, 2015 20:09
-
-
Save kenmaz/5316378 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
syntax on | |
set encoding=utf-8 | |
set fileencodings=utf-8,iso-2022-jp,euc-jp,sjis | |
set termencoding=utf-8 | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set number | |
"制御文字 | |
set list | |
set listchars=tab:»-,trail:$,extends:»,precedes:«,nbsp:% | |
set viminfo='20,\"50,<1000 | |
autocmd! BufRead,BufNewFile *.erb set filetype=eruby | |
autocmd! BufRead,BufNewFile *.ru set filetype=ruby | |
autocmd! BufRead,BufNewFile *.psgi set filetype=perl | |
autocmd! BufRead,BufNewFile *.t set filetype=perl | |
autocmd! BufRead,BufNewFile *.tt set filetype=html | |
"augroup filetypedetect$ | |
" au BufNewFile,BufRead *.pig set filetype=pig syntax=pig$ | |
"augroup END$ | |
nnoremap ,su :sil exe 'cex "" \| windo \| try \| vimgrepa /\v^ *sub \w/j % \| cat \| endt \| cw'<CR>:set cursorline<CR> | |
nnoremap ,cl :cclose<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment