Created
October 18, 2018 01:01
-
-
Save jtopgi/75a7b39853be4623257e0ce5f889650c to your computer and use it in GitHub Desktop.
old vimrc
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
call plug#begin() | |
Plug 'scrooloose/nerdtree' | |
call plug#end() | |
autocmd vimenter * NERDTree | |
set expandtab | |
set shiftwidth=2 | |
set softtabstop=2 | |
set nocompatible | |
" use indentation of previous line | |
set autoindent | |
" use intelligent indentation for C | |
set smartindent | |
" configure tabwidth and insert spaces instead of tabs | |
set tabstop=2 " tab width is 4 spaces | |
set shiftwidth=2 " indent also with 4 spaces | |
set expandtab " expand tabs to spaces | |
" wrap lines at 120 chars. 80 is somewaht antiquated with nowadays displays. | |
set textwidth=80 | |
" turn syntax highlighting on | |
set t_Co=256 | |
syntax on | |
" colorscheme wombat256 | |
" turn line numbers on | |
set number | |
" highlight matching braces | |
set showmatch | |
" intelligent comments | |
set comments=sl:/*,mb:\ *,elx:\ */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment