-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gvimrc
33 lines (29 loc) · 1.02 KB
/
.gvimrc
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
set nocompatible
filetype off
set rtp+=/home/abhiy13/.vim/bundle/Vundle.vim
set rtp+=~/.vim/bundle/
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'
Plugin 'honza/vim-snippets'
Plugin 'itchyny/lightline.vim'
call vundle#end()
filetype plugin indent on
set laststatus=2
set mouse=a
set tabstop=2
set shiftwidth=2
set smarttab
set autoindent
syntax on
set number
noremap <c-A> :%y+<CR>
noremap <c-S> :w<CR>
noremap <c-T> :tabn<CR>
noremap <c-N> :tabe<CR>
noremap <F9> :!g++ -std=c++14 -pedantic -Wall -Wunused -Wuninitialized -Wfloat-equal -Woverflow -Wshadow -Wextra -Wconversion -DABHI %:r.cpp -o %:r<CR>
noremap <F10> :!g++ -std=c++14 -pedantic -Wall -Wunused -Wuninitialized -Wfloat-equal -Woverflow -Wshadow -Wextra -Wconversion -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -fsanitize=address -fsanitize=undefined -fno-sanitize-recover -Wformat=2 -fstack-protector -DABHI %:r.cpp -o %:r<CR>
noremap <F5> :!./%:r<CR>
noremap <c-Z> :u<CR>