-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
78 lines (64 loc) · 1.56 KB
/
.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
" Pathogen package manager
execute pathogen#infect()
" general settings
syntax on
filetype on
filetype plugin indent on
if &compatible
set nocompatible
endif
set number
set browsedir=buffer
" set backupdir=~/.vimbackup
set clipboard=unnamed
set showmatch
set smartcase
set whichwrap=b,s,h,l,<,>,[,]
" set laststatus=2
set autoindent
set smartindent
set tabstop=4
set expandtab
set softtabstop=4
set shiftwidth=4
set list
set listchars=tab:\ \ ,eol:$
set laststatus=2 " show status line always
" lightline.vim and color scheme
if !has('gui_running')
set t_Co=256
endif
let g:lightline = {
\ 'component': {
\ 'readonly': '%{&filetype=="help"?"":&readonly?"⭤":""}',
\ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}'
\ },
\ 'component_visible_condition': {
\ 'readonly': '(&filetype!="help"&& &readonly)',
\ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))'
\ }}
colorscheme hybrid
set background=dark " or light
hi MatchParen cterm=bold ctermbg=none ctermfg=blue
" ???
au BufEnter * execute ":lcd " . expand("%:p:h")
" Setting of skk.vim
let skk_jisyo='~/.skk-jisyo'
let skk_large_jisyo='/usr/share/skk/SKK-JISYO.L'
let skk_auto_save_jisyo=1
let skk_keep_state=0
let skk_egg_like_newline=1
let skk_show_annotation=1
let skk_use_face=1
" Syntastic
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" syntastic
" vimproc
" VimShell
"