Last active
October 11, 2016 19:15
-
-
Save geisonsn/a5cab3053aeb43422c8b9d420e4706e6 to your computer and use it in GitHub Desktop.
Ubuntu14.04 Work
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
"============================================================================================= | |
"Configurações do Vundle | |
"============================================================================================= | |
set nocompatible | |
filetype off | |
"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 'bling/vim-airline' "Permite a customização da statusline | |
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 'scrooloose/nerdtree' | |
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 | |
"============================================================================================D_tree_2 | |
"Configuraçãoes do NERDTree | |
"============================================================================================= | |
let NERDTreeMapOpenInTab='\r' | |
"============================================================================================D_tree_2 | |
"Configuraçãoes do CTRL+P | |
"============================================================================================= | |
let g:ctrlp_dont_split = 'nerdtree' | |
let g:ctrlp_show_hidden=1 | |
"============================================================================================D_tree_2 | |
"Configuraçãoes do Airline | |
"============================================================================================= | |
let g:airline_powerline_fonts = 1 | |
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 | |
"============================================================================================= | |
"Configurações do Syntastic | |
"============================================================================================= | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_open = 1 | |
let g:syntastic_check_on_wq = 0 | |
"============================================================================================= | |
"Configuraçãoes gerais do Vim | |
"============================================================================================= | |
syntax on | |
set laststatus=2 "Mantêm a statusline sempre habilitada | |
set noswapfile "Desabita o backup de arquivos | |
set number "Apresenta o número das linhas | |
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 | |
set cursorline "Destaca a linha atual | |
set autoread "Recarrega automaticamente arquivos que foram alterados no disco | |
set mouse=a "Habilita o mouse em todos os modos de execução | |
colorscheme Monokai "Habilita o tema usado no editor | |
" ################################################ ATALHOS | |
"Inseri linha em branco | |
nmap <CR> o<Esc> | |
"atalho para nerdtree | |
nmap <leader>ne :NERDTreeToggle<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment