{"id":20130179,"url":"https://github.com/neninja/dotfiles","last_synced_at":"2025-04-09T16:13:20.906Z","repository":{"id":37545774,"uuid":"168778133","full_name":"neninja/dotfiles","owner":"neninja","description":"🪄 Arquivos de configuração","archived":false,"fork":false,"pushed_at":"2025-02-13T01:03:05.000Z","size":53557,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-09T16:13:13.678Z","etag":null,"topics":["aliases","awesomewm","dotfiles","git","gitconfig","neovim","nvim","vim","vimrc"],"latest_commit_sha":null,"homepage":"http://d.neni.dev","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neninja.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}},"created_at":"2019-02-02T00:38:50.000Z","updated_at":"2025-02-13T01:03:09.000Z","dependencies_parsed_at":"2023-02-16T02:01:00.255Z","dependency_job_id":"7d24736a-706d-4a9e-a980-4067b6b72507","html_url":"https://github.com/neninja/dotfiles","commit_stats":null,"previous_names":["neninja/dotfiles"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neninja%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neninja%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neninja%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neninja%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neninja","download_url":"https://codeload.github.com/neninja/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065282,"owners_count":21041872,"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","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":["aliases","awesomewm","dotfiles","git","gitconfig","neovim","nvim","vim","vimrc"],"created_at":"2024-11-13T20:37:45.147Z","updated_at":"2025-04-09T16:13:20.885Z","avatar_url":"https://github.com/neninja.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [dotfiles](http://d.neni.dev)\n\n[![emojicom](https://img.shields.io/badge/emojicom-%F0%9F%90%9B%20%F0%9F%86%95%20%F0%9F%92%AF%20%F0%9F%91%AE%20%F0%9F%86%98%20%F0%9F%92%A4-%23fff)](http://neni.dev/emojicom)\n\n\u003cimg src=\"screenshot.jpg\" alt=\"screenshot\" width=\"100%\"\u003e\n\nVersionamento dos meus arquivos de configuração, scripts, instruções e templates usados no Windows e/ou Linux.\n\n- Nvim\n- VSCode\n- AwesomeWM\n- Bash\n- Git\n\n## Simplicidade como essência\n\n```mermaid\ngraph TB\nsimplicidade --\u003e manutenibilidade --\u003e qualidade\nsimplicidade --\u003e performance --\u003e qualidade\n\nqualidade --\u003e t[eficiência no trabalho e estudos] --\u003e l[menos tempo perdido] --\u003e p[mais tempo para o que importa]\n```\n\n## Utilização\n\n1. Download e link dos arquivos\n\n```bash\ncd ~\nmkdir -p dev\ncd dev\ngit clone git@github.com:neninja/dotfiles.git\ncd dotfiles\n./install.sh\n```\n\n2. Configuração de ambiente do nvim em `nvim/lua/my/env.lua` se necessário\n\n\u003e [Configuração do SSH](https://gist.github.com/neninja/433e85b49acc802479654c75535eea2c)\n\n\u003cdetails\u003e\n\u003csummary\u003eBaixar Nvim\u003c/summary\u003e\n\n```bash\n# Ubuntu\ncurl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage\nchmod u+x nvim.appimage\nsudo mv ./nvim.appimage /usr/bin/nvim\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eSuporte ao Vim (sem plugins)\u003c/summary\u003e\n\n- Com todos vimscripts\n```vim\n\" ~/.vimrc ou %userprofile%\\_vimrc\nlet g:dotfiles = \"~/dev/dotfiles/\"\nexe \"source \".g:dotfiles.\"nvim/vimrc\"\nexe \"source \".g:dotfiles.\"nvim/colors/calmo.vim\"\n```\n\n- O mais simples possível (Windows):\n```sh\ncurl https://raw.githubusercontent.com/neninja/dotfiles/main/nvim/vimrc \u003e %userprofile%\\_vimrc\n```\n\n- O mais simples possível (Linux):\n```sh\nwget https://raw.githubusercontent.com/neninja/dotfiles/main/nvim/vimrc -O $HOME/.vimrc\n```\n\u003c/details\u003e\n\n## Configurações locais\n\n### Nvim\n\n- `~/vimrc-pre.vim`: **antes** do carregamento de vários módulos\n- `~/vimrc-local.vim`: **depois** do carregamento completo\n- `/path/do/projeto/.exvrc`, `/path/do/projeto/.exrc`, `/path/do/projeto/.nvim.lua` ou `.rgignore` (rg): **depois** do carregamento completo, somente no projeto aberto\n\n### Bash\n\n- `~/.bashrc-local.sh`\n\n\u003cdetails\u003e\n\u003csummary\u003eExemplo\u003c/summary\u003e\n\n```sh\nalias cdi='cd ~/dev/i10'\nalias cdia='cd ~/dev/i10/api'\nalias sailclear='sail artisan optimize:clear'\n. \"$HOME/.cargo/env\"\n\nalias toggl='flatpak run com.toggl.TogglDesktop'\nalias outline='sudo ~/bin/Outline-Client.AppImage --no-sandbox'\nalias cu='sudo ~/bin/ClickUp-3.0.6.AppImage --no-sandbox'\n\nexport GPG_TTY=$(tty)\n\nexport XDG_DATA_DIRS='/var/lib/flatpak/exports/share:/home/neni/.local/share/flatpak/exports/share'\n```\n\u003c/details\u003e\n\n### Git\n\n- `~/.gitconfig-local`\n\n\u003cdetails\u003e\n\u003csummary\u003eExemplo\u003c/summary\u003e\n\n```gitconfig\n# `~/.gitconfig-local`\n[includeIf \"gitdir:~/dev/trampo/projetox/\"]\n    path = dev/trampo/.gitconfig-projetox\n```\n\n```gitconfig\n# `~/dev/trampo/.gitconfig-projetox`\n[include]\n    path = .gitconfig-geral-trampo\n[core]\n    excludesfile = ~/dev/trampo/.gitignore-projetox\n```\n\n```gitignore\n# `~/dev/trampo/.gitignore-projetox`\nmeumakefile\nup.sh\n```\n\n```gitconfig\n# `~/dev/trampo/.gitconfig-geral-trampo`\n[user]\n    name = Felipe Silva\n    email = felipe@trampo.com\n    username = felipe_silva\n[alias]\n    s = status\n    commit-guide = !cat ~/dev/dotfiles/modelos/git/.gitcommit\n    pr = \"!f() { git fetch upstream \u0026\u0026 rebase upstream/$@; }; f\"\n```\n\u003c/details\u003e\n\n## Atualização forçada\n\n```bash\ngit fetch --all\ngit reset --hard origin/main\n```\n\n## Adendos\n\n- [Por que utilizar Vim?](https://wtf.neni.dev/pqvim/)\n- [Wiki](https://github.com/neninja/dotfiles/wiki)\n- [My Vimrc](http://vimrc.neni.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneninja%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneninja%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneninja%2Fdotfiles/lists"}