-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
96 lines (72 loc) · 1.7 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
set encoding=utf-8
packadd! matchit
if v:version >= 900 && glob('$VIMRUNTIME/**/pack/*/opt/editorconfig') != ''
packadd! editorconfig
endif
source ~/.vim/keymap.vim
set nobackup
set noswapfile
set noundofile
let &t_SI = "\e[6 q"
let &t_SR = "\e[4 q"
let &t_EI = "\e[2 q"
let &t_Co = 256
let &t_Sf = "\<Esc>[3%dm"
let &t_Sb = "\<Esc>[4%dm"
set imsearch=-1
set emoji
set number
set cursorcolumn cursorline
set scrolloff=3
set splitbelow
set splitright
set expandtab
set tabstop=2 shiftwidth=0 softtabstop=-1
set autoindent
set smartindent
set virtualedit+=block
set list listchars=tab:\-\-\>,extends:»,precedes:«,trail:⋅
set matchpairs&
set matchpairs+=「:」,『:』,(:),【:】
highlight NonText ctermbg=NONE ctermfg=240 guibg=NONE guifg=#585858
highlight SpecialKey ctermbg=NONE ctermfg=240 guibg=NONE guifg=#585858
set incsearch
set ignorecase
set smartcase
set wildmenu
set showmatch
set helplang=ja,en
set showtabline=2
augroup BufferAsTab
autocmd!
autocmd BufNew * tab ball
augroup END
set laststatus=2
set statusline=%<%f\ %m%r%h%w[%{&fenc!=''?&fenc:&enc}%{&bomb?'\ (BOM)':''}][%{&ff}]%=[%{&ft}]%6l,%c%V%8P
set autochdir
set mouse=a
if !has('nvim')
set iminsert=2
set ttymouse=xterm2
endif
syntax on
filetype plugin indent on
augroup FileTypeAutoDetect
autocmd!
autocmd BufWinEnter * filetype detect
augroup END
colorscheme desert
augroup OmniComplete
autocmd!
autocmd FileType *
\ if &l:omnifunc ==# ''
\| setlocal omnifunc=syntaxcomplete#Complete
\|endif
augroup END
if exists('*timer_start')
" update help tags asyncronously
call timer_start(0, { -> execute('helptags ALL') })
endif
source ~/.vim/codeium.vim
source ~/.vim/easymotion.vim
source ~/.vim/ctrlp.vim