{"id":16295378,"url":"https://github.com/muhrifqii/tmux-vim-config","last_synced_at":"2025-03-20T04:30:54.026Z","repository":{"id":81945269,"uuid":"78921950","full_name":"muhrifqii/tmux-vim-config","owner":"muhrifqii","description":"A simple example of tmux configuration and vim configuration with battery meter, cpu load, network status, and easy load","archived":false,"fork":false,"pushed_at":"2022-08-20T05:53:16.000Z","size":211,"stargazers_count":8,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T14:48:59.049Z","etag":null,"topics":["pane","split-window","tmux","tmux-configuration","vim","vim-configuration"],"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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muhrifqii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-01-14T06:48:32.000Z","updated_at":"2024-10-28T04:24:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"dad61211-ca83-4d77-a987-4a89652f3df6","html_url":"https://github.com/muhrifqii/tmux-vim-config","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/muhrifqii%2Ftmux-vim-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhrifqii%2Ftmux-vim-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhrifqii%2Ftmux-vim-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhrifqii%2Ftmux-vim-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muhrifqii","download_url":"https://codeload.github.com/muhrifqii/tmux-vim-config/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244552145,"owners_count":20471005,"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":["pane","split-window","tmux","tmux-configuration","vim","vim-configuration"],"created_at":"2024-10-10T20:18:36.202Z","updated_at":"2025-03-20T04:30:54.018Z","avatar_url":"https://github.com/muhrifqii.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tmux Configuration File\n[Tmux](https://github.com/tmux/tmux) is a terminal multiplexer. It is a smarter terminal that can let you code with minimum usage of mouse. This configuration file is valid for **Tmux version 1.9 or greater**. [This article](https://medium.com/@muhrifqii/give-it-a-chance-to-your-brain-type-without-moving-the-hands-away-from-keyboard-7790c7600c60) can relate why you should try to go full keyboard.\n\n\u003cimg width=\"800\" alt=\"This is how it looks like\" src=\"https://raw.githubusercontent.com/muhrifqii/tmux-vim-config/master/look.png\"\u003e\n\n*Prefix* mapped to `Ctrl-a` because in my opinion it's easier than the default prefix Ctrl-b.\n\nThis Tmux configuration has many plugin to make you throw your mouse away. They are: \n- [Tmux Plugin Manager](https://github.com/tmux-plugins/tpm) - **must have**\n- [Tmux Resurrect](https://github.com/tmux-plugins/tmux-resurrect)\n- [Tmux Online Status](https://github.com/tmux-plugins/tmux-online-status)\n- [Tmux Battery](https://github.com/tmux-plugins/tmux-battery)\n- [Tmux CPU](https://github.com/tmux-plugins/tmux-cpu)\n- [Tmux Sidebar](https://github.com/tmux-plugins/tmux-sidebar)\n\nPrequisites\n-----------\n\nInstall [base-16-color](https://github.com/chriskempson/base16-shell) to get the desired color scheme.\n\nInstallation\n------------\n\n### Option 1:\n\n1. Clone the repo:\n```bash\ngit clone https://github.com/muhrifqii/tmux-vim-config\n```\n2. Make the `install.sh` executable:\n```bash\nchmod +x install.sh\n```\n\n3. Run `install.sh`\n```bash\n./install.sh\n```\n\n4. Download Tmux Plugin Manager:\n```bash\ngit clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm\n```\n\n5. Update tmux config:\n```bash\ntmux source-file ~/.tmux.conf\n```\n\n### Option 2:\n  - Download Tmux Plugin Manager (only if you do not have it yet):\n```bash\ngit clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm\n```\n  - Just copy the desired part in this .tmux.conf on your own .tmux.conf file.\n  - Do exactly the same like the step 4 and 5 on Option 1\n\n## Try it\n\n  Launch tmux:\n```\ntmux\n```\n  And press `Control + a` then `d` to go back to the terminal.\n\nTo start a session:\n\n`tmux`\n\nTo show the active tmux session:\n\n`tmux ls`\n\nTo reattach a previous session:\n\n`tmux a -t {session-name}`\n\nTo reload config file inside tmux\n\n`\u003cControl + a\u003e:` (Prefix key then `:`) then `source-file ~/.tmux.conf`\n\nBasic Commands\n--------------\n\nIn case you miss the top of README content, this configuration uses prefix key `Ctrl + a`. This prefix is a typed before any tmux shortcut sequence.\n\n* `Ctrl + a` before any command\n* `Ctrl + a` then `d` to detach session without closing it\n* `Ctrl + a` then `?` to bring up list of keyboard shortcuts\n* `Ctrl + a` then `\"` to split window into view pane horizontally\n* `Ctrl + a` then `%` to split window into view pane vertically\n* `Ctrl + a` then `Ctrl + (arrow)` to configure the pane size\n* `Ctrl + a` then `(arrow)` to move between view pane\n* `alt + arrow` can also be used to move between view pane\n* `alt` then `h`, `j`, `k`, or `l` can also be used to move between pane (so the vim hjkl wont be forgotten)\n* `Control + a` then `c` to create a new window\n* `Control + a` then `n` to next window\n* `Control + a` then `p` to previous window\n* `Control + a` then `[0-9]` move to window number\n* `Control + a` then `\u0026` to kill window\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhrifqii%2Ftmux-vim-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhrifqii%2Ftmux-vim-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhrifqii%2Ftmux-vim-config/lists"}