" Disable compatibility with vi which can cause unexpected issues. set nocompatible " Enable type file detection. Vim will be able to try to detect the type of file in use. filetype on " Enable plugins and load plugin for the detected file type. filetype plugin on " Load an indent file for the detected file type. filetype indent on " Turn syntax highlighting on. syntax on " Line Numbers set number " Set tab width to 4 columns. set tabstop=4 " While searching though a file incrementally highlight matching characters as you type. set incsearch " Show matching words during a search. set showmatch " Use highlighting when doing a search. set hlsearch " PLUGINS ---------------------------------------------------------------- {{{ call plug#begin('~/.vim/plugged') Plug 'preservim/nerdtree' call plug#end() " }}}