forked from Xyene/chrome-os-i3-dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
101 lines (75 loc) · 2.17 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
set nocompatible
filetype plugin indent on
" Reload buffer at last position
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
" Nice-to-have but lags badly
au BufEnter * setlocal cursorline
au BufLeave * setlocal nocursorline
let g:airline_right_sep=''
let g:airline_left_sep=''
syntax on
set cursorline
set incsearch
set hlsearch
set ignorecase
set fillchars+=vert:│
set ttymouse=xterm2
set mouse=a
set number
"set relativenumber
set whichwrap+=<,>,[,]
let g:indentLine_concealcursor=0
set wrap!
set encoding=UTF-8
"set background=dark
set termguicolors
imap <C-BS> <C-W>
nmap <C-S-L> :StripWhitespace<CR>:Autoformat<CR>
"set completeopt-=preview
set colorcolumn=80
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
set tabstop=2
set shiftwidth=2
set expandtab
set backspace=indent,eol,start
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugin 'kshenoy/vim-signature'
Plugin 'airblade/vim-gitgutter'
Plugin 'sjl/badwolf'
"Plugin 'ayu-theme/ayu-vim'
"Plugin 'sickill/vim-monokai'
"Plugin 'altercation/vim-colors-solarized'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" Plugin 'junegunn/fzf.vim'
"Plugin 'scrooloose/nerdtree'
"Plugin 'tpope/vim-fugitive'
"Plugin 'zxqfl/tabnine-vim'
" Plugin 'Valloric/YouCompleteMe'
Plugin 'Yggdroot/indentLine'
"Plugin 'romainl/flattened'
Plugin 'ryanoasis/vim-devicons'
Plugin 'rhysd/vim-clang-format'
" Plugin 'Chiel92/vim-autoformat'
" Plugin 'easymotion/vim-easymotion'
"Plugin 'kshenoy/vim-signature'
Plugin 'ntpeters/vim-better-whitespace'
" Plugin 'airblade/vim-gitgutter'
Plugin 'ctrlpvim/ctrlp.vim'
"Plugin 'jistr/vim-nerdtree-tabs'
let g:WebDevIconsUnicodeDecorateFolderNodes = 1
let g:DevIconsEnableFoldersOpenClose = 1
if exists("g:loaded_webdevicons")
call webdevicons#refresh()
endif
let g:indentLine_color_gui = '#45413b'
let g:indentLine_char = '┊'
let g:indentLine_filetypeExclude = [ 'markdown', 'json' ]
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
let g:airline_powerline_fonts = 1
let g:airline_theme = 'zenburn'
colorscheme badwolf