Created
June 28, 2021 11:40
-
-
Save philipecampos/43034216d9a847c79c6930724c3c8ddd to your computer and use it in GitHub Desktop.
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
syntax enable | |
set backspace=indent,eol,start "Make backspace behave like every other editor | |
let mapleader = ',' "The default leader is \, but comma is much better | |
"---------Visuals-----------" | |
colorscheme atom-dark-256 | |
set guioptions-=l | |
set guioptions-=L | |
set guioptions-=r | |
set guioptions-=R | |
"---------Search------------" | |
set hlsearch "Ativa o highlight para a busca | |
set incsearch "Ativa a busca instantânea enquanto digita | |
"---------Mappings----------" | |
"Facilita a edição do arquivo .vimrc | |
nmap <Leader>ev :tabedit $MYVIMRC<cr> | |
"Torna fácil remover highlight | |
nmap <Leader><space> :nohlsearch<cr> | |
"---------Auto-Commands-----" | |
"Automatically source the .vimrc file on save | |
augroup autosourcing | |
autocmd! | |
autocmd BufWritePost .vimrc source % | |
augroup END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment