Created
January 4, 2017 05:40
-
-
Save nikhan/8225e7e4555718f5c33a44703f86239e to your computer and use it in GitHub Desktop.
01-03-2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set t_Co=256 | |
set t_ut= | |
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
colorscheme zazen | |
set nu | |
set shiftwidth=2 | |
set tabstop=2 | |
set expandtab | |
set laststatus=2 | |
set cursorline | |
set hidden | |
let g:go_fmt_command = "goimports" | |
" for immediate transition in/out of insert mode | |
set timeoutlen=1000 ttimeoutlen=0 | |
" webpack | |
set backupcopy=yes | |
" remove startup screen | |
set shortmess=I | |
" Set the vertical split character to a space (there is a single space after | |
" '\ ') | |
set fillchars+=vert:\ | |
" format C files, winsaveview() to return to our cursor/view | |
au BufWritePre *.c,*.cc,*.cpp,*.h let winview=winsaveview() | silent execute '%!clang-format-3.5 -style Google' | call winrestview(winview) | |
au BufRead,BufNewFile *.md set wrap linebreak nolist textwidth=80 | |
\ wrapmargin=0 spell cc=80 syntax=off cursorline! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment