Created
January 30, 2022 18:13
-
-
Save bcastellano/f585d8af0961d220f9faf86ab0d28011 to your computer and use it in GitHub Desktop.
Vim configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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