{"id":13599222,"url":"https://github.com/lopes/dotfiles","last_synced_at":"2025-04-24T17:31:53.611Z","repository":{"id":100715698,"uuid":"283069018","full_name":"lopes/dotfiles","owner":"lopes","description":"Lopes' personal configuration files","archived":false,"fork":false,"pushed_at":"2025-04-15T14:16:33.000Z","size":496,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T15:30:03.332Z","etag":null,"topics":["alacritty","aliases","bash","git","linux","macos","micro","skhd","unix","vim","yabai","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lopes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-07-28T01:57:32.000Z","updated_at":"2025-04-15T14:16:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"22febf23-869f-4d2f-b40e-5f0273c79c17","html_url":"https://github.com/lopes/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopes%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopes%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopes%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lopes%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lopes","download_url":"https://codeload.github.com/lopes/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250674393,"owners_count":21469214,"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":["alacritty","aliases","bash","git","linux","macos","micro","skhd","unix","vim","yabai","zsh"],"created_at":"2024-08-01T17:01:01.029Z","updated_at":"2025-04-24T17:31:53.601Z","avatar_url":"https://github.com/lopes.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# dotfiles\nMy personal **minimalist** configuration files.  The main focus is in security and simplicity, so only known softwares are used and hacks are avoided.\n\n\n## Requirements\nI use the following directories to better organize my work:\n\n- `$HOME/Projects`: Ongoing project files and folders\n- `$HOME/.local/bin`: Standalone binaries, sourced by `$PATH`\n\n\u003e[!NOTE]\n\u003eSee `.zshenv` for more information on directories.\n\nBesides the directories, I configure Zsh to source [auto-suggestions](https://github.com/zsh-users/zsh-autosuggestions) and [syntax highlighting](https://github.com/zsh-users/zsh-syntax-highlighting) for a better experience.  But if these packages are not installed, nothing should happen.\n\nFinally, I use and recommend [GNU Stow](https://www.gnu.org/software/stow/) for managing dotfiles and it can be easily installed with most package managers around there.\n\n\n## Installation\nFirst, make sure the needed directories are in place:\n\n```sh\ncd\nmkdir -p .cache/zsh .local/bin Projects\n```\nNow, proceed with installation:\n\n```sh\ncd  Projects\ngit clone https://github.com/lopes/dotfiles\ncd dotfiles\nstow --verbose --adopt . --target=$HOME\n```\n\n\u003e[!WARNING]\n\u003eThe previous snippet considers a fresh install.  If you have any configurations in place, use it with caution because the `--adopt` will replace these files by your current ones.\n\n\u003e[!NOTE]\n\u003eGNU Stow allows you to simulate an installation with the `--simulate` option.\n\n\u003e[!IMPORTANT]\n\u003eGit ignores all files but the ones explicitly declared in `.gitignore` file.  To track new files, they must be added with: `git add -f PATH`.\n\n\n## Shortcuts\nSome shortcuts of my daily use.\n\n### macOS\n| Shortcut | Action |\n|---|---|\n| `cmd-space` | App launcher |\n| `cmd-w/q` | Close/Quit application |\n| `cmd-,` | Open settings |\n| `cmd-n` | New window/file/... |\n| `cmd-shift-3/4/5` | Screenshots |\n| `control-1..0` | Move to Desktop 1-10 |\n| `control-left/right` | Move to previous/next Desktop |\n\n\u003e[!NOTE]\n\u003eA comprehensive list of macOS shortcuts can be found [here](https://support.apple.com/en-us/102650).\n\n### Zsh\n| Shortcut | Action |\n|---|---|\n| `control-c` | Kill foreground process |\n| `control-l` | Clear the screen |\n| `control-r` | Search history |\n| `control-g` | Quits search history |\n| `control-u` | Clear the entire line |\n| `control-a`: | Beginning of line |\n| `control-e` | End of line |\n| `alt-left` | Previous word |\n| `alt-right` | Next word |\n\n### Ghostty\n| Shortcut | Action |\n|---|---|\n| `cmd-d` | Split horizontally |\n| `cmd-shift-d` | Split vertically |\n\n\u003e[!NOTE]\n\u003eRun `ghostty +show-config --default --docs` for a comprehensive list of default configuration.\n\n### Aerospace\nSee `.config/aerospace/aerospace.toml` for the full list.\n| Shortcut | Action |\n|---|---|\n| `cmd-1..5` | Switch workspaces |\n| `cmd-alt-1..5` | Move windows to workspace |\n| `cmd-alt-[hjkl]` | Move windows to left/down/up/right |\n| `cmd-control-[hjkl]` | Change windows focus to left/down/up/right |\n| `cmd-alt-enter` | Launch terminal |\n\n### Obsidian\n| Shortcut | Action |\n|---|---|\n| `cmd-p` | Open command palette |\n| `cmd-e` | Toggle edit/reading view |\n| `cmd-option-i` | Show console |\n| `cmd-option-up` | Add cursor above |\n| `cmd-option-down` | Add cursor below |\n| `cmd-click` | Open file in a new tab |\n| `cmd-\\` |  Split right |\n| `cmd-[` | Toggle left sidebar |\n| `cmd-]` | Toggle right sidebar |\n\n### Micro\n| Shortcut | Action |\n|---|---|\n| `control-s` | Save |\n| `control-q` | Exit |\n| `control-k` | Cut the entire line |\n| `control-c` | Copy |\n| `control-v` | Paste |\n| `control-z` | Undo changes |\n| `control-y` | Redo changes |\n\n### Vim\n| Shortcut | Action |\n|---|---|\n| `:wq` | Save and exit |\n| `:q!` | Exit without save |\n| `dd` | Cut the entire line |\n| `yy` | Copy the entire line |\n| `yw` | Copy the word under the cursor |\n| `p` | Paste copied text |\n| `u` | Undo changes |\n| `control-r` | Redo changes |\n| `shift-g` | End of file |\n| `gg` | Begining of file |\n| `$` | End of line |\n| `^` | Begining of line |\n| `g~w` | Toggle the case for word under cursor |\n| `control-v` | Go to visual mode - `esc` to exit |\n| `/sentence` | Search for `sentence` - works in other tools, like `less` and `man` |\n\n\u003e[!INFO]\n\u003e Some Vim commands can be combined to alter their behavior, for instance `d$` cut all characters from the cursor to the end of line.\n\n\n## Termux (Android)\nInstall basic packages, make sure that `zsh` is the default shell, and then follow the instructions above to install dotfiles.\n\n```sh\npkg install zsh git man\nchsh -s zsh\n```\n\n### Shortcuts\n| Shortcut | Action |\n|---|---|\n| `Vol.Up-k` | Shows/Hides extra keys |\n| `Vol.Up-q` | Just like `Vol.Up-k` |\n| `Vol.Up-t` | Tab |\n| `Vol.Up-e` | Escape |\n| `Vol.Up-w` | Up arrow |\n| `Vol.Up-a` | Left arrow |\n| `Vol.Up-s` | Down arrow |\n| `Vol.Up-d` | Right arrow |\n| `Vol.Up-h` | Tilde |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopes%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flopes%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flopes%2Fdotfiles/lists"}