Git Product home page Git Product logo

vim's Introduction

vim

Configuração que uso no meu vim.

" ativar sintaxe colorida syntax on

" ativar indentação automática set autoindent

" ativa indentação inteligente, o Vim tentará adivinhar " qual é a melhor indentação para o código quando você " efetuar quebra de linha. Funciona bem para linguagem C set smartindent

" por padrão o vim armazena os últimos 50 comandos que você " digitou em seu histórico. Eu sou exagerado, prefiro armazenar " os últimos 5000 set history=5000

" ativar numeração de linha set number

" destaca a linha em que o cursor está posicionado " ótimo para quem não enxerga muito bem set cursorline

" ativa o clique do mouse para navegação pelos documentos set mouse=a

" ativa o compartilhamento de área de transferência entre o Vim " e a interface gráfica set clipboard=unnamedplus

" converte o tab em espaços em branco " ao teclar tab o Vim irá substutuir por 2 espaços set tabstop=2 softtabstop=2 expandtab shiftwidth=2

" ao teclar a barra de espaço no modo normal, o Vim " irá colapsar ou expandir o bloco de código do cursor " foldlevel é a partir de que nível de indentação o " código iniciará colapsado set foldmethod=syntax set foldlevel=99 nnoremap za

"tema do dracula" packadd! dracula syntax enable colorscheme dracula

let g:indentLine_enabled = 1 map i :IndentLinesToggle

map :NERDTreeToggle set encoding=utf8 set guifont=Fira\ Code\ Regular\ Nerd\ Font\ Complete\ Mono:h12

set laststatus=2 let g:airline#extensions#tabline#enabled = 1 let g:airline_powerline_fonts = 1 let g:airline_statusline_ontop=0 let g:airline_theme='dracula'

let g:airline#extensions#tabline#formatter = 'default' " navegação entre os buffers nnoremap :bn nnoremap :bp nnoremap :bp|bd #

let g:ctrlp_custom_ignore = '\v[/].(swp|zip)$' let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard'] let g:ctrlp_show_hidden = 1

"mostrar os arquivos ocultos de forma padrão let NERDTreeShowHidden=1

"filetype plugin on let g:NERDSpaceDelims = 1 let g:NERDDefaultAlign = 'left' map cc NERDCommenterInvert

let g:ale_linters = {'python': ['flake8', 'pylint'], 'javascript': ['eslint']} let g:ale_completion_enabled = 0 " let g:ale_fixers = { " 'python': ['yapf'], " } " nmap :ALEFix " let g:ale_fix_on_save = 1 " auto pairs let g:AutoPairsFlyMode = 1 let g:AutoPairsShortcutBackInsert = ''

" plugin para json "execute pathongen #infect() "syntax on filetype plugin indent on

vim's People

Contributors

b0rt0tt1 avatar fernandobortotti avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.