Skip to content

Instantly share code, notes, and snippets.

@harunhasdal
Created December 13, 2024 02:01
Show Gist options
  • Save harunhasdal/9fc0203d7c74873da3491074cf116633 to your computer and use it in GitHub Desktop.
Save harunhasdal/9fc0203d7c74873da3491074cf116633 to your computer and use it in GitHub Desktop.
Good default for `.vimrc` to configure VIM with some visual consistency
" Show line numbers
set number
" Load plugins and indent according to detected file type
filetype on
filetype plugin on
filetype indent on
" Turn on syntax highlighting
syntax on
" Set tab size and use spaces
set tabstop=4
set expandtab
" Disable backup
set nobackup
" Disable line wrapping
set nowrap
" Disable vi compatibility.
set nocompatible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment