{"id":15800791,"url":"https://github.com/theoomoregbee/dotfiles","last_synced_at":"2025-07-23T10:31:58.220Z","repository":{"id":89634317,"uuid":"126568979","full_name":"theoomoregbee/dotfiles","owner":"theoomoregbee","description":"Personal dotfile with  git hook to manage brew packages (brewfile)","archived":false,"fork":false,"pushed_at":"2023-04-03T21:48:25.000Z","size":46,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T08:44:46.620Z","etag":null,"topics":["bash-profile","brew","brewfile","development","dotfiles","oh-my-zsh","vim","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/theoomoregbee.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}},"created_at":"2018-03-24T05:29:28.000Z","updated_at":"2024-06-21T17:38:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a3ce098-1a75-4b7d-84a1-bde2ec171651","html_url":"https://github.com/theoomoregbee/dotfiles","commit_stats":{"total_commits":44,"total_committers":2,"mean_commits":22.0,"dds":"0.022727272727272707","last_synced_commit":"c36cab953b9a1079ed36796ad6f26e846e8746c0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theoomoregbee/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theoomoregbee","download_url":"https://codeload.github.com/theoomoregbee/dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theoomoregbee%2Fdotfiles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262177631,"owners_count":23270904,"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":["bash-profile","brew","brewfile","development","dotfiles","oh-my-zsh","vim","zsh"],"created_at":"2024-10-05T01:06:31.981Z","updated_at":"2025-06-27T02:32:38.387Z","avatar_url":"https://github.com/theoomoregbee.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\nPersonal dotfiles\n\n## Cloining / replicating\n```sh\ngit clone --recursive https://github.com/theo4u/dotfiles.git\n```\n\n## Configuration / Automation\n* **Setup Mac** importing, just simply run `./setup-mac.sh`, which run through the following sequence \n\t- check if brew is installed, install it\n\t- Oh my Zsh installation\n\t- link dotfiles to home directory\n\t- install packages from `Brewfile`\n\t- run through mac default configurations (hide/show dock)\n* **Syncing Files** keeping files updated for dotfiles and brew installed packages\n\t- `cd ~/dotfiles` commit the changes\n\t- for keeping track of installed brew packages, using a git hook to auto update and commit `Brewfile`(no need to think of this)\n\t- then `git push` to push the changes and the auto committed `Brewfile` \n\t- For vim plugin syncing which is my main focus check below\n\n## GIT \n\nGit aliases like \n  * `gp` for `git pull`\n  * `gpush` for `git push`\n  * `gco branchname` for `git checkout branchname`\n  * `gcb branchname` for `git checkout -b branchname`\n  * `gbd branchname` for `git branch -D branchname`\n  * etc. more in [.bash_profile](https://github.com/theo4u/dotfiles/blob/cde99ee917cf76c72003cf3ae4b2fc1de57fc302/.bash_profile#L14)\n\n## Export secure Content\n\nTo export secure content like `NPM_TOKEN` you can create `~/.bash_profile_secure` and it will be automatically exported. check [.bash_profile](https://github.com/theo4u/dotfiles/blob/master/.bash_profile#L11)\n\n\n## VIM \n### Adding Plugins via Pathogen\n```sh\ncd ./.vim/bundle\ngit submodule add http://github.com/tpope/vim-fugitive.git\n```\nUsing git hook to auto commit the submodule added using the `repo-name` like so `added ${repo_name} plugin`. So, anytime we decide to push we can push the new update \n\n### Managing Plugins \n#### Single Update\n```sh\ncd ~/.vim/bundle/${pluginName}\ngit pull origin master\n``` \n#### All Update\n```sh\ngit submodule foreach git pull origin master\n```\n#### Remove Update\n```sh\ncd ~/.vim/bundle\ngit submodule deinit \u003csubmodule-name\u003e    \ngit rm \u003csubmodule-name\u003e\n```\nUsing git hook to auto commit the submodule after triggering `git submodule update` automatically too (keeping check of the current state of submodules) \n* removed using the `repo-name` like so `removed ${repo_name} plugin`. \n* any submodule changes  like so `Updated Plugins`. \nSo, anytime we decide to push we can push the new update \n\n## Term/ITerm theme\n* [Space Gray](theme/spacegray.itermcolors)\n* [Profile](/iterm_profile.json)\n\n\u003e Profile requires roboto powerline font to be installed. See https://github.com/powerline/fonts#quick-installation\n\n## VIM Cheat sheet\n### VIM SESSION\n* `:mks ~/sessions/name of project.vim` : The next time you’re ready to start working on that project, source that session file within vim `:source ~/sessions/rooster.vim` Or open it when you run vim in terminal using the **-S** flag: `vim -S ~/.vim/sessions/rooster.vim`\nBoom. Everything will be exactly as you left it: the working directory, your windows, splits, and buffers, and any options you’ve :set. When the cycle repeats as you rearrange the furniture, just overwite the old session by using `:mks!`.\n\n### VIM TABS\n* gt (or :tabn) to go to next tab\n* gT (or :tabp or :tabN) to go to previous tab\n* #gt (or :tabn #) to go to #th tab\n* :tabr to go to first tab\n* :tabl to go to last tab\n* :tabm to move the current tab to the last position\n* :tabm # to move the current tab to the #th position\n\n### Goto Definition using g\nPlace the cursor on any variable in your program.\n* gd will take you to the local declaration.\n* gD will take you to the global declaration.\n* g* search for the word under the cursor (like *, but g* on 'rain' will find words like 'rainbow').\n* g# same as g* but in backward direction.\n* gg goes to the first line in the buffer (or provide a count before the command for a specific line).\n* G goes to the last line (or provide a count before the command for a specific line).\n* gf will go to the file under the cursor\n* g] and other commands will jump to a tag definition (a tag can be a function or variable name, or more).\n* gf - Edit existing file under cursor in same window\n* C-Wf - Edit existing file under cursor in split window\n* C-WC-F - Edit existing file under cursor in vertically split window\n* C-Wgf - Edit existing file under cursor in new tabpage\n\n### Surround\nhttp://www.futurile.net/2016/03/19/vim-surround-plugin-tutorial/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheoomoregbee%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheoomoregbee%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheoomoregbee%2Fdotfiles/lists"}