Skip to content

Instantly share code, notes, and snippets.

@bcastellano
Created January 30, 2022 18:13
Show Gist options
  • Save bcastellano/f585d8af0961d220f9faf86ab0d28011 to your computer and use it in GitHub Desktop.
Save bcastellano/f585d8af0961d220f9faf86ab0d28011 to your computer and use it in GitHub Desktop.
Vim configuration
" Turn on syntax highlighting
syntax on
" Show line numbers
set number
" Encoding
set encoding=utf-8
" Use spaces instead of tabs
set expandtab
" Be smart when using tabs ;)
set smarttab
" 1 tab == 4 spaces
set shiftwidth=4
set tabstop=4
" Linebreak on 500 characters
set lbr
set tw=500
set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines
" show special characters
set showbreak=↪\
set listchars=tab:→\ ,eol:↲,nbsp:␣,trail:•,extends:⟩,precedes:⟨,space:·
"set nolist
set list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment