Skip to content

Instantly share code, notes, and snippets.

@alexvistyazh
Created February 22, 2017 08:43
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save alexvistyazh/0ff591e3d61c3b7bec139e9b49e9e454 to your computer and use it in GitHub Desktop.
Save alexvistyazh/0ff591e3d61c3b7bec139e9b49e9e454 to your computer and use it in GitHub Desktop.
filetype detect
set nocompatible
set exrc
set mouse=a
set tabstop=4
set shiftwidth=4
set smarttab
set autoindent
set smartindent
set cindent
set showcmd
set number
set autowrite
set autoread
set nowrap
map <F5> :<C-U>!g++ -O2 -DLOCAL -std=c++11 -Wall -Wextra -Wno-unused-result -static %:r.cpp -o %:r<CR>
map <F9> :<C-U>!./%:r<CR>
@adityavarma1234
Copy link

Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment