-
Notifications
You must be signed in to change notification settings - Fork 7
/
vimrc.symlink
67 lines (52 loc) · 953 Bytes
/
vimrc.symlink
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
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
if !exists('g:vscode')
Plug 'altercation/vim-colors-solarized'
Plug 'sheerun/vim-polyglot'
end
call plug#end()
set nocompatible
set encoding=utf-8
set noshowmode
set laststatus=2
set cmdheight=1
syntax enable
set background=light
colorscheme solarized
set guifont=SF\ Mono:h16
" Whitespace
set expandtab
set shiftwidth=2
set autoindent
set smartindent
set backspace=indent,eol,start
set updatetime=250
set undofile
" UI
set number
set relativenumber
set modelines=0
set scrolloff=5
set hidden
set ttyfast
set showcmd
set foldmethod=manual
set foldlevel=10
" Features
set noswapfile
set nobackup
set nowb
set splitbelow
set splitright
set wrap linebreak
" Searching
set ignorecase
set smartcase
set gdefault
set nohlsearch
set incsearch
set showmatch
set inccommand=nosplit
set grepprg=rg\ --vimgrep\ --smart-case\ --follow