-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc.plugin
74 lines (66 loc) · 2.41 KB
/
.vimrc.plugin
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
"###############################################################
" プラグインの設定
"###############################################################
"vim-indent-guides関連{
let g:indent_guides_enable_on_vim_startup=1
hi IndentGuidesOdd ctermbg=white
hi IndentGuidesEven ctermbg=lightgrey
let g:indent_guides_guide_size =2
"}
"NERDTree関連{
let NERDTreeShowHidden=1 "隠しファイルを表示
"}
if !exists('g:neocomplete#force_omni_input_patterns')
let g:neocomplete#force_omni_input_patterns = {}
endif
let g:neocomplete#force_omni_input_patterns.python = '\h\w*\|[^. \t]\.\w*'
"}
"VimShell関連{
let g:vimshell_popup_height=40
let g:vimshell_split_command='tabnew'
let g:my_vimshell_prompt_counter=-1
function! s:my_vimshell_dynamic_prompt()
let g:my_vimshell_prompt_counter+=1
let anim=[
\ "|卍♪└(┐✌^o^)✌|",
\ "|卍^o^)♪└(┐✌^|",
\ "|└(┐卍^o^)卍♪|",
\ "| 卍♪└(┐卍^o^|",
\ "|卍^o^)卍♪└(┐|",
\ "|└(┐卍^o^)卍♪|",
\ "|三^o^))└(┐卍|",
\ "|o^)✌~三^o^))|",
\ "|┐✌^o^)✌~三^o|",
\ ]
return anim[g:my_vimshell_prompt_counter % len(anim)]
endfunction
let g:vimshell_prompt_expr='g:my_vimshell_dynamic_prompt()." > "'
let g:vimshell_prompt_pattern='^|[ 卍♪└(┐✌o^)~三]\{10,11}| > '
"}
"neocomplete.vim関連{
let g:neocomplete#enable_at_startup=1
let g:neocomplete#enable_smart_case=1
let g:neocomplete#sources#syntax#min_keyword_length=3
let g:neocomplete#lock_buffer_name_pattern='¥*ku¥*'
"neocomplete key mappings{
inoremap <expr><C-g> neocomplete#undo_completion()
inoremap <expr><C-l> neocomplete#complete_common_string()
"}}
"calendar.vim関連{
let g:calendar_google_calendar=1
let g:calendar_goole_task=1
"}
"lightline関連{
set laststatus=2
set t_Co=256 "環境によって上手くいかないのでシェルコマンド'export TERM=xterm-256color'と併用
let g:lightline = {
\ 'colorscheme': 'wombat',
\ 'component': {
\ 'readonly': '%{&readonly?"🔒":""}',
\ },
\ 'separator': { 'left': '>', 'right': '<' },
\ 'subseparator': { 'left': '>', 'right': '<' }
\ }
hi clear CursorLine "colorschemeの変更のためここでカーソル行の下線取り消し
hi CursorLineNr term=bold ctermfg=Blue "カーソル行の行番号をハイライト
"}