1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| " Tab and Indentation Settings set tabstop=4 " Number of spaces a tab counts for set shiftwidth=4 " Number of spaces to use for each step of auto indent set expandtab " Use spaces instead of tabs set smarttab " Insert tabs on the start of a line according to shiftwidth set autoindent " Copy indent from current line when starting a new line set smartindent " Smart autoindenting when starting a new line
" General Settings set number " Show line numbers set relativenumber " Show relative line numbers set ruler " Show cursor position set encoding=utf-8 " Set UTF-8 encoding set scrolloff=5 " Keep 5 lines visible above/below cursor
" Search Settings set ignorecase " Ignore case when searching set smartcase " Override ignorecase if search contains uppercase set hlsearch " Highlight search results set incsearch " Show search matches as you type
" Syntax and Appearance syntax enable " Enable syntax highlighting set background=dark " Dark background mode colorscheme default " Choose a color scheme
" File Handling set autoread " Automatically read files changed outside of Vim set nobackup " Don't create backup files set noswapfile " Don't use swap files
|