Skip to content

Instantly share code, notes, and snippets.

@vitebo
Last active February 3, 2019 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vitebo/9dcd9efd68302ea1cea4e6d635d9a0b9 to your computer and use it in GitHub Desktop.
Save vitebo/9dcd9efd68302ea1cea4e6d635d9a0b9 to your computer and use it in GitHub Desktop.
" Execução do gerenciador de plugins
execute pathogen#infect()
" ctrlp.vim
" emmet-vim
" nerdtree
" vim-airline
" vim-elixir
" vim-rails
" vim-bundler
" vim-endwise
" vader.vim
" background
set background=dark
" Esquema de cores escuro
colorscheme Tomorrow-Night-Eighties
" Tamanho da identação
set tabstop=2
" Identifica o tipo de arquivo e identa
filetype plugin indent on
" Colorir o editor
syntax on
" Deixar coerente indentação com o tamanho do TAB
set shiftwidth=2
" Comportamento unsual do backspace
set backspace=2
" numberar as linhas
set number
" set relative number
set relativenumber
" busca incremental - feedback enquanto busco
set incsearch
" destaque nos resultados
set hlsearch
" salvar na codificação desejada
set fileencoding=utf-8
" visualizar na codificação desejada
set encoding=utf-8
" usar espaço no lugar de tab
set expandtab
" backspace respeitar a identação
set softtabstop=2
" emmet atalho
let g:user_emmet_leader_key=','
" show white-spaces
set list
set listchars=tab:>-,trail:.
set lcs+=space:·
" folding and unfondilg
set foldmethod=syntax
" ctrlp-vim
set runtimepath^=~/.vim/bundle/ctrlp.vim
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
let g:ctrlp_working_path_mode = 'ra'
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe,\\node_modules\\ " Windows
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment