-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
56 lines (41 loc) · 843 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
set nocompatible
set viminfo+=!
syntax on
filetype on
filetype indent on
filetype plugin on
set expandtab
set encoding=utf-8
set nobomb
set fileformat=unix
set cmdheight=2
set number
set ruler
set showmode
set title
set incsearch
set noignorecase
set smartcase
set hlsearch
"()
set showmatch
set matchpairs=(:),{:},[:],<:>
set wrap
set wildmenu
set backupdir=~/.vim/vimbackup
:noremap <F6> :r!date/T<CR>
set tabstop=2
set shiftwidth=2
function! JISX0208SpaceHilight()
syntax match JISX0208Space "@" display containedin=ALL
highlight JISX0208Space term=underline ctermbg=LightCyan
endf
if has("syntax")
syntax on
augroup invisible
autocmd! invisible
autocmd BufNew,BufRead * call JISX0208SpaceHilight()
augroup END
endif
set list
set listchars=tab:>-,trail:-,nbsp:%,extends:>,precedes:<