Skip to content

Instantly share code, notes, and snippets.

@geisonsn
Last active October 8, 2018 12:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geisonsn/641f13543b8b41fe2c12 to your computer and use it in GitHub Desktop.
Save geisonsn/641f13543b8b41fe2c12 to your computer and use it in GitHub Desktop.
Meu arquivo de configuração .vimrc
set nocompatible "Necessário para o Vundle
filetype off "Necessário para o Vundle
"Configuração do caminho para o executável do Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim' "Gerenciador de plugins Vundle
Plugin 'scrooloose/syntastic' "Checador de sintaxe
Plugin 'vim-airline/vim-airline' "Permite a customização da statusline
Plugin 'vim-airline/vim-airline-themes'
Plugin 'SirVer/ultisnips'
Plugin 'kien/ctrlp.vim' "Auxilia na manipulação de arquivos: abertura, fechamento
Plugin 'mhinz/vim-signify' "Apresenta as mudanças ocorridas em um arquivo monitorado pelo Git
Plugin 'scrooloose/nerdcommenter' "Auxilia na criação de comentários
Plugin 'tpope/vim-fugitive' "Integração com git
Plugin 'mattn/emmet-vim' "Edição de html e css
Plugin 'Townk/vim-autoclose' "Realiza o fechamento automático de chaves, parênteses, colchetes
Plugin 'flazz/vim-colorschemes' "Fornece esquema de cores para o editor
call vundle#end() "Plugins devem ser adicionados antes desta linha
filetype plugin indent on "Necessário para o Vundle
"set guifont=Meslo\ LG\ S\ Regular\ for\ Powerline
"Configurações para o plugin Airline
let g:airline_powerline_fonts = 1
"if !exists('g:airline_symbols')
"let g:airline_symbols = {}
"endif
" unicode symbols
"let g:airline_left_sep = '»'
"let g:airline_left_sep = '▶'
"let g:airline_right_sep = '«'
"let g:airline_right_sep = '◀'
"let g:airline_symbols.linenr = '␊'
"let g:airline_symbols.linenr = '␤'
"let g:airline_symbols.linenr = '¶'
"let g:airline_symbols.branch = '⎇'
"let g:airline_symbols.paste = 'ρ'
"let g:airline_symbols.paste = 'Þ'
"let g:airline_symbols.paste = '∥'
"let g:airline_symbols.whitespace = 'Ξ'
" airline symbols
"let g:airline_left_sep = ''
"let g:airline_left_alt_sep = ''
"let g:airline_right_sep = ''
"let g:airline_right_alt_sep = ''
"let g:airline_symbols.branch = ''
"let g:airline_symbols.readonly = ''
"let g:airline_symbols.linenr = ''
let g:airline#extensions#tabline#enabled = 1 "Habilita o breadcrumb que exibe o caminho do arquivo
let g:airline_theme='powerlineish' "Habilita o tema da statusline
set laststatus=2 "Mantêm a statusline sempre habilitada
set noswapfile "Desabita o backup de arquivos
set number "Apresenta o número das linhas
syntax on
colorscheme Monokai "Habilita o tema usado no editor
set softtabstop=4 shiftwidth=4 expandtab
set noshowmode "Desabilita a exibição do modo de edição
set textwidth=99 "Limite a quantidade de dígitos por linha
set colorcolumn=100 "Mostra o limitador de coluna na coluna especificada
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment