Skip to content

Instantly share code, notes, and snippets.

@wprudencio
Last active July 23, 2024 21:07
Show Gist options
  • Save wprudencio/08cd2316bdc2be5655cdc12d3bcb9999 to your computer and use it in GitHub Desktop.
Save wprudencio/08cd2316bdc2be5655cdc12d3bcb9999 to your computer and use it in GitHub Desktop.
set relativenumber
set number
set wildmode=list:longest,full
syntax on
colorscheme desert
set ruler
" Use spaces instead of tabs
set expandtab
" 1 tab == 4 spaces
set shiftwidth=4
set tabstop=4
set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines
set laststatus=2
" Set utf8 as standard encoding and en_US as the standard language
set encoding=utf8
" Use Unix as the standard file type
set ffs=unix,dos,mac
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Files, backups and undo
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Turn backup off, since most stuff is in SVN, git etc. anyway...
set nobackup
set nowb
set noswapfile
" Ignore case when searching
set ignorecase
" When searching try to be smart about cases
set smartcase
" Highlight search results
set hlsearch
" Makes search act like search in modern browsers
set incsearch
" Don't redraw while executing macros (good performance config)
set lazyredraw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment