-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
67 lines (44 loc) · 923 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
60
61
62
63
64
65
66
67
call plug#begin('~/.vim/plugged')
Plug 'editorconfig/editorconfig-vim'
Plug 'itchyny/lightline.vim'
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'
Plug 'preservim/nerdtree'
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
Plug 'leafgarland/typescript-vim'
Plug 'peitalin/vim-jsx-typescript'
call plug#end()
" enable syntax highlighting
syntax on
" show line numbers
set number
" show file stats
set ruler
" set encoding
set encoding=utf-8
set modelines=0
" whitespace related
set wrap
set textwidth=79
set formatoptions=tcqrn1
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab
set noshiftround
" Allow hiden buffers
set hidden
" Rendering
set ttyfast
if !has('gui_running')
set t_Co=256
endif
set laststatus=2
set noshowmode
filetype plugin indent on
" markdown settings
let g:vim_markdown_folding_disabled=1
" color scheme
colorscheme slate
set guifont=Monospace\ 12