-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
45 lines (33 loc) · 798 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
set nocompatible
filetype off
set nu
set noswapfile
" display invisible characters
" set list
" set listchars=tab:»-,trail:-,eol:↲,extends:»,precedes:«,nbsp:%
" tab configurations
set expandtab
set tabstop=2
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'mattn/emmet-vim'
Plugin 'pangloss/vim-javascript'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'rakr/vim-one'
call vundle#end()
filetype plugin indent on
" set theme
if system("defaults read -g AppleInterfaceStyle") ==? "dark\n"
set background=dark
else
set background=light
endif
" true colour
" set termguicolors
let g:airline_powerline_fonts = 1
let g:airline_theme = 'one'
colorscheme one
syntax on