| 1 | filetype plugin indent on |
| 2 | set expandtab |
| 3 | set shiftwidth=4 |
| 4 | set softtabstop=4 |
| 5 | set tabstop=4 |
| 6 | set number |
| 7 | set relativenumber |
| 8 | set smartindent |
| 9 | set showmatch |
| 10 | set backspace=indent,eol,start |
| 11 | set autoread |
| 12 | set updatetime=100 " Drives CursorHold; gitgutter signs refresh on it |
| 13 | set lazyredraw |
| 14 | syntax on |
| 15 | set termguicolors |
| 16 | set cursorline |
| 17 | set shell=/bin/zsh |
| 18 | set noshowmode |
| 19 | set signcolumn=yes |
| 20 | " Search Options |
| 21 | set hlsearch " Search highlighting |
| 22 | set incsearch " Incremental search |
| 23 | set ignorecase " Non case sensitive searching |
| 24 | set smartcase " Auto switch to case-sensitive if capital used |
| 25 | |
| 26 | set mouse=a "Enabled mouse for scrolling |
| 27 | set spell |
| 28 | " System clipboard: * register on macOS, + when xterm_clipboard is built in |
| 29 | if has('unnamedplus') |
| 30 | set clipboard=unnamedplus |
| 31 | else |
| 32 | set clipboard=unnamed |
| 33 | endif |
| 34 | |
| 35 | set noerrorbells |
| 36 | set novisualbell |
| 37 | set t_vb= |
| 38 | set tm=500 |
| 39 | |
| 40 | set nobackup |
| 41 | set nowb |
| 42 | set noswapfile |