-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
53 lines (38 loc) · 1.22 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
call plug#begin('~/.vim/plugged')
Plug 'ayu-theme/ayu-vim' "
Plug 'NLKNguyen/papercolor-theme'
call plug#end()
" enable syntax highlighting
syntax on
" setup correct spacing and tab widths
" Softtabs, 2 spaces
set tabstop=2
set shiftwidth=2
set shiftround
set expandtab
"set autoindent " automatic indent new lines
"set smartindent
" enable filetype detection
filetype on
" ignore case, unless uppercase when searching
set ignorecase
set smartcase
" show the best match so far as search is typed
set incsearch
" change teh to the
abbreviate teh the
" change the color scheme to something i like
set termguicolors " enable true colors support
" let ayucolor="light" " for light version of theme
" let ayucolor="mirage" " for mirage version of theme
" let ayucolor="dark" " for dark version of theme
" colorscheme ayu
set background=dark
colorscheme PaperColor
" more nifty ux settings
set ruler " always show cursor
set number " line numbers
set backspace=2 " allow backspace in insert mode
set nostartofline " don't jump to start of line when scrolling
set showmatch " show matching brackes and braces
set visualbell " no noise