Skip to content

Instantly share code, notes, and snippets.

@jtopgi
Created October 18, 2018 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtopgi/75a7b39853be4623257e0ce5f889650c to your computer and use it in GitHub Desktop.
Save jtopgi/75a7b39853be4623257e0ce5f889650c to your computer and use it in GitHub Desktop.
old vimrc
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