Last active
July 23, 2024 21:07
-
-
Save wprudencio/08cd2316bdc2be5655cdc12d3bcb9999 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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
Installing:
curl -o ~/.vimrc https://gist.githubusercontent.com/wprudencio/08cd2316bdc2be5655cdc12d3bcb9999/raw/27ff41066416e516c2e428f3fd65bcfbf96b971b/.vimrc