{"id":31333363,"url":"https://github.com/fabiobrasileiroo/mydotvimrc","last_synced_at":"2025-09-26T01:53:24.116Z","repository":{"id":306532625,"uuid":"1026506846","full_name":"fabiobrasileiroo/MydotVimRc","owner":"fabiobrasileiroo","description":"My vim setup","archived":false,"fork":false,"pushed_at":"2025-07-26T03:19:25.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-26T09:52:25.321Z","etag":null,"topics":["vim","vim-plugin","vimrc"],"latest_commit_sha":null,"homepage":"","language":"Vim Script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabiobrasileiroo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-26T03:12:19.000Z","updated_at":"2025-07-26T03:19:28.000Z","dependencies_parsed_at":"2025-07-26T09:52:27.328Z","dependency_job_id":"9dd6323f-addd-4255-9fbb-17d51db80c6e","html_url":"https://github.com/fabiobrasileiroo/MydotVimRc","commit_stats":null,"previous_names":["fabiobrasileiroo/mydotvimrc"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/fabiobrasileiroo/MydotVimRc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiobrasileiroo%2FMydotVimRc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiobrasileiroo%2FMydotVimRc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiobrasileiroo%2FMydotVimRc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiobrasileiroo%2FMydotVimRc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiobrasileiroo","download_url":"https://codeload.github.com/fabiobrasileiroo/MydotVimRc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiobrasileiroo%2FMydotVimRc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277009873,"owners_count":25744543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["vim","vim-plugin","vimrc"],"created_at":"2025-09-26T01:53:23.360Z","updated_at":"2025-09-26T01:53:24.111Z","avatar_url":"https://github.com/fabiobrasileiroo.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MydotVimRc\nMy vim setup\n\n``` vimscript\n\" Ativa syntax highlight e indentação automática\nsyntax on\nfiletype plugin indent on\n\n\" Aparência\nset number              \" Números absolutos\nset relativenumber      \" Números relativos para navegação\nset cursorline          \" Destaca a linha atual\nset background=dark     \" Tema escuro\ncolorscheme gruvbox     \" Tema: gruvbox (bonito e confortável)\n\n\" Tabs e indentação\nset tabstop=2\nset softtabstop=2\nset shiftwidth=2\nset expandtab\nset smartindent\nset autoindent\n\n\" Usabilidade\nset clipboard=unnamedplus\nset hidden\nset nowrap\nset backspace=indent,eol,start\nset updatetime=1000\n\n\" Tecla líder (prefixo de atalhos)\nlet mapleader = \",\"\n\n\" Autosave ao sair do modo inserção, mover o cursor ou perder foco\nautocmd InsertLeave,TextChanged,FocusLost,CursorHold * silent! write\n\n\" Instalação de plugins via vim-plug\ncall plug#begin('~/.vim/plugged')\n\n\" Tema gruvbox\nPlug 'morhetz/gruvbox'\n\n\" JavaScript/TypeScript/JSX/TSX\nPlug 'pangloss/vim-javascript'\nPlug 'leafgarland/typescript-vim'\nPlug 'peitalin/vim-jsx-typescript'\n\n\" HTML5/CSS3\nPlug 'othree/html5.vim'\nPlug 'hail2u/vim-css3-syntax'\n\n\" Auto complete (YCM requer build com suporte TS)\nPlug 'ycm-core/YouCompleteMe'\n\n\" Linter e formatador (ALE)\nPlug 'dense-analysis/ale'\n\n\" Prettier (formatador JS/TS/HTML etc.)\nPlug 'prettier/vim-prettier', { 'do': 'npm install' }\n\ncall plug#end()\n\n\" ALE configurações (usa prettier ao salvar)\nlet g:ale_fix_on_save = 1\nlet g:ale_fixers = {\n\\   'javascript': ['prettier'],\n\\   'typescript': ['prettier'],\n\\   'typescriptreact': ['prettier'],\n\\   'javascriptreact': ['prettier'],\n\\   'json': ['prettier'],\n\\   'html': ['prettier'],\n\\ }\n\n\" Atalhos úteis\nnmap \u003cleader\u003ef :Prettier\u003cCR\u003e\nnmap \u003cleader\u003ee :ALEToggle\u003cCR\u003e\n\n\" Define a cor do cursor\nhighlight Cursor guifg=NONE guibg=gray\n```\n\n### Instale o **gerenciador de plugins**:\n\n``` bash\ncurl -fLo ~/.vim/autoload/plug.vim --create-dirs \\\n  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\n```\n\n### Abra o vim e rode:\n\n``` bash\n:PlugInstall\n```\n\n### YouCompleteMe\n``` bash\ncd ~/.vim/plugged/YouCompleteMe\npython3 install.py --ts-completer\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiobrasileiroo%2Fmydotvimrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiobrasileiroo%2Fmydotvimrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiobrasileiroo%2Fmydotvimrc/lists"}