-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
59 lines (48 loc) · 957 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
55
56
57
58
59
set nocompatible
filetype indent plugin on
syntax enable
set termguicolors
colorscheme base16-tomorrow-night
let &t_SI = "\<Esc>[5 q"
let &t_SR = "\<Esc>[3 q"
let &t_EI = "\<Esc>[2 q"
autocmd VimEnter * silent exec '!echo -ne "\e[2 q"' | redraw!
autocmd VimLeave * silent !echo -ne "\e[5 q"
set ttimeoutlen=100
set belloff=all
set autoindent
set smartindent
set backspace=indent,eol,start
set complete-=i
set smarttab
set nrformats-=octal
set incsearch
set laststatus=2
set ruler
set wildmenu
set scrolloff=1
set sidescrolloff=5
set display+=lastline
set listchars=tab:>\ ,trail:-,extends:>,precedes:<,nbsp:+
set formatoptions+=j
set autoread
set history=1000
set tabpagemax=50
set sessionoptions-=options
set showcmd
set ignorecase
set smartcase
set nostartofline
set ruler
set cmdheight=2
set number
set hlsearch
set incsearch
set lazyredraw
set showmatch
set matchtime=2
set wrap
set tabstop=4
set softtabstop=4
set expandtab
set shiftwidth=4