Created
August 29, 2017 14:45
-
-
Save jabedude/7d1417f662491cec636dd5f59e922239 to your computer and use it in GitHub Desktop.
This file contains 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 shiftwidth=8 | |
set softtabstop=8 | |
set tabstop=8 | |
autocmd Filetype c setlocal foldmethod=syntax ts=4 sw=4 sts=4 expandtab | |
autocmd Filetype cpp setlocal foldmethod=syntax ts=4 sw=4 sts=4 expandtab | |
au FileType python setl sw=4 sts=4 et | |
autocmd FileType make set noexpandtab | |
augroup AutoSaveFolds | |
autocmd! | |
autocmd BufWinLeave ?* mkview | |
autocmd BufWinEnter ?* silent loadview | |
augroup End | |
set expandtab | |
set number | |
syntax on | |
set scrolloff=5 | |
set autoindent | |
set laststatus=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment