-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
44 lines (35 loc) · 927 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
syntax on
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set number relativenumber
set nowrap
set smartcase
set noswapfile
set nobackup
set undodir=~/.vim/undodir
set undofile
set incsearch
set scrolloff=8
set signcolumn=yes
set colorcolumn=100
set runtimepath+=~/.config/vim,~/.config/vim/after
call plug#begin('~/.config/vim/plugged')
Plug 'dracula/vim', { 'as': 'dracula' }
Plug '/~https://github.com/xavierd/clang_complete.git'
call plug#end()
let g:clang_library_path='/usr/lib'
let g:clang_user_options='|| exit 0'
let g:clang_complete_auto = 1
let g:clang_complete_copen = 1
let mapleader = " "
let g:netrw_banner = 0
colorscheme dracula
highlight Normal ctermbg=None
nnoremap <leader>h :wincmd h<CR>
nnoremap <leader>j :wincmd j<CR>
nnoremap <leader>k :wincmd k<CR>
nnoremap <leader>l :wincmd l<CR>
nnoremap <leader>f :wincmd v<bar> :Ex <bar> :vertical resize 30<CR>