{"id":25534800,"url":"https://github.com/rodrigocmoraes/dotfiles","last_synced_at":"2025-04-11T13:24:43.607Z","repository":{"id":49218742,"uuid":"155913735","full_name":"RodrigoCMoraes/dotfiles","owner":"RodrigoCMoraes","description":"This repository contains some automation scripts to setup things on my pc","archived":false,"fork":false,"pushed_at":"2022-11-02T19:54:35.000Z","size":1291,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-06T15:57:25.510Z","etag":null,"topics":["bash","dotfiles","tmux","vim"],"latest_commit_sha":null,"homepage":null,"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/RodrigoCMoraes.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}},"created_at":"2018-11-02T19:41:17.000Z","updated_at":"2021-01-26T03:47:51.000Z","dependencies_parsed_at":"2022-09-01T16:04:20.696Z","dependency_job_id":null,"html_url":"https://github.com/RodrigoCMoraes/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/RodrigoCMoraes%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodrigoCMoraes%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodrigoCMoraes%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RodrigoCMoraes%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RodrigoCMoraes","download_url":"https://codeload.github.com/RodrigoCMoraes/dotfiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248409353,"owners_count":21098768,"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","dotfiles","tmux","vim"],"created_at":"2025-02-20T03:29:01.035Z","updated_at":"2025-04-11T13:24:43.580Z","avatar_url":"https://github.com/RodrigoCMoraes.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pc-setup\nThis repository contains my Vim/Tmux setup.\n\n![Demo](https://github.com/RodrigoCMoraes/pc-setup/blob/master/demo.PNG)\n\n## Try it out with Docker!!!\n\n```\n# Build docker image\ndocker build -t pc-setup .\n\n# Run container to try this setup\ndocker run --rm -it pc-setup\n\n# Use this container as code editor\ndocker run -it --privileged=true -v PATH_TO_SOURCE_CODE:/app pc-setup /bin/bash\n```\n\n## Install\n\n```\ngit clone https://github.com/rodrigocmoraes/pc-setup.git\ncd pc-setup\nsudo chmod +x install.sh\nsudo ./install.sh\nsource ~/.bashrc\n```\n\n## Shortcuts\n\u003e All others commands no cited here remain default.\n\n1. Vim\n  * Ctrl + (h,j,k,l)     : Move between panes  \n  * Ctrl + w + (7,8,9,0) : Resize panes\n  * jk or kj             : Normal mode\n  * za                   : Toogle folding paragraph\n  * zr                   : Unfolding all paragraphs\n  * Ctrl + n             : Toogle folding files manager\n  * Plugins:\n    - [Jedi-Vim](https://github.com/davidhalter/jedi-vim)\n    - [Vim-tmux-navigator](https://github.com/christoomey/vim-tmux-navigator)\n    - [Vim-surround](https://github.com/tpope/vim-surround)\n    - [Nerdtree-git-plugin](https://github.com/Xuyuanp/nerdtree-git-plugin)\n\n2. Bash\n  * jk                   : Vi mode on bash\n  * lt N                 : List all files and directories, hidden are included, in Tree mode with N Level depth    \n  * l                    : Clear console and list everything but .git with N=1 \n  * ll                   : Clear console and list eveything in vertical mode\n  * gs                   : Git status\n  * gd                   : Git diff (with [diff-so-fancy](https://github.com/so-fancy/diff-so-fancy))\n  * gh                   : Git history ( with [link](https://stackoverflow.com/a/34467298/7195250))\n  * tasks                : list TODO, FIXME and BUG tags on versioned code\n  * c                    : Clear bash (Ctrl + l remapped)\n  * fuck                 : Corrects previous console command (with [thefuck](https://github.com/nvbn/thefuck))\n \n3. Tmux\n\u003e Bash starts in last tmux session(I work with just one session and many windows and panes)\n  * Ctrl + z             : Leader Key(LK)\n  * Ctrl + (h,j,k,l)     : Move between panes\n  * LK + c               : Create new window\n  * LK + n               : Go to next window(right)\n  * LK + p               : Go to previous window(left)\n  * LK + w               : Change between windows with preview\n  * LK + d               : Detach from session(tmux attach, to attach to session)\n  * LK + \u0026               : Kill window\n  * LK + x               : Kill current pane\n  * LK + ,               : Rename window\n  * LK + |               : Split window vertically\n  * LK + -               : Split window horizontally\n  * LK + {               : Swap pane with last pane\n  * LK + !               : Open current pane on new window\n  * Alt + (h,j,k,l)      : Resize panes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigocmoraes%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frodrigocmoraes%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frodrigocmoraes%2Fdotfiles/lists"}