{"id":17359215,"url":"https://github.com/meticulouscraftman/commandline-cheatsheet","last_synced_at":"2025-03-27T15:26:42.728Z","repository":{"id":91376193,"uuid":"288933272","full_name":"meticulousCraftman/commandline-cheatsheet","owner":"meticulousCraftman","description":"Command line cheatsheet for some popular tools (vim, tmux etc)","archived":false,"fork":false,"pushed_at":"2020-08-22T09:20:13.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T19:22:02.489Z","etag":null,"topics":["tmux","vim"],"latest_commit_sha":null,"homepage":"","language":null,"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/meticulousCraftman.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":"2020-08-20T07:09:37.000Z","updated_at":"2023-03-04T08:11:56.000Z","dependencies_parsed_at":"2023-07-25T01:00:46.225Z","dependency_job_id":null,"html_url":"https://github.com/meticulousCraftman/commandline-cheatsheet","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/meticulousCraftman%2Fcommandline-cheatsheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meticulousCraftman%2Fcommandline-cheatsheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meticulousCraftman%2Fcommandline-cheatsheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meticulousCraftman%2Fcommandline-cheatsheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meticulousCraftman","download_url":"https://codeload.github.com/meticulousCraftman/commandline-cheatsheet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245870379,"owners_count":20686017,"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":["tmux","vim"],"created_at":"2024-10-15T19:08:34.231Z","updated_at":"2025-03-27T15:26:42.708Z","avatar_url":"https://github.com/meticulousCraftman.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cheatsheet\n\n## Index\n  - [tmux](#tmux)\n  - [vim](#vim) -\u003e Text editor\n  - [exa](#exa) -\u003e Replacement for `ls`\n  - [bat](#bat) -\u003e Replacement for `bat`\n  - [rg](#rg) -\u003e Replacement for `grep`\n  - [fx](#fx) -\u003e JSON document viewer\n  - [cargo](#cargo) -\u003e Rust Lang\n  - [go](#go)-\u003e Go Lang\n  - [countdown](#countdown) -\u003e Countdown timer in Go\n  - [fish](#fish) -\u003e Fish shell, replacement for `bash`\n  - [nodejs](#nodejs)\n  - [npm](#npm)\n  - [npx](#npx) -\u003e Run npm packages without installing them globally.\n\n### tmux\nTerminology:\n  - `C-` : Control Key\n  - `M-` : Meta Key / Alt\n  - `S-` : Shift Key\n  \nCommands:\n  - `tmux new` , `tmux new -s sessionname`, `tmux new-session` -\u003e Create a new session\n  - `C-b` -\u003e Tmux prefix (Crtl + b)\n  - `C-b ?` -\u003e Help Key\n  - `C-b:neww` -\u003e Create a new window\n  - `C-b:\u003ccommand\u003e` -\u003e Type commands at interactive prompt\n  - `C-b:\u003ccommand1\u003e;\u003ccommand2\u003e;\u003ccommand3\u003e` -\u003e For command sequence\n  - `C-b d`, `C-b:detach` -\u003e Detach from current session and let it run in background.\n  - `tmux attach` -\u003e Attach to tmost recently used session\n  - `tmux attach -t mysession` -\u003e Attach to session named mysession\n  - `tmux new -As mysession` -\u003e Attach to a session named \"mysession\" if it exists, otherwise create a new one.\n  - `tmux ls` -\u003e To list sessions\n  - `tmux kill-server`, `C-b: kill-server` -\u003e Kill tmux server\n  - `C-b c`, `C-b:new-window`, `C-b:neww` -\u003e Create a new window\n  - `C-b:neww -dn \u003cname\u003e` -\u003e Create a new window in background, don't switch to it.\n  - `C-b:neww -t 10` -\u003e Create new window with index 10\n  - `C-b:neww \u003ccommand\u003e` -\u003e Create a new window and execute \u003ccommand\u003e in it.\n  - `C-b:neww top` -\u003e Create a new window and execute \"top\" in it.\n  - `C-b %` -\u003e Split the window on vertical plane, **left** and **right**.\n  - `C-b % \"` -\u003e Split window horizontally, **top** and **bottom**\n  - `C-b:split-window` -\u003e Split current window\n    - `-h` -\u003e Vertical split, **left** and **right**\n    - `-v` -\u003e Horizontal split, **top** and **bottom**\n    - `-d` -\u003e Does not change newly created pane to active pane\n  - `C-b 0` -\u003e Change to window index 0\n  - `C-b '` -\u003e Ask for a window index and changes to that window\n  - `C-b n` -\u003e Next window\n  - `C-b p` -\u003e Previous window\n  - `C-b l` -\u003e Last window\n  - `C-b \u003cUp\u003e`, `C-b \u003cDown\u003e`, `C-b \u003cRight\u003e`, `C-b \u003cLeft\u003e` -\u003e Change active panes\n  - `C-b q` -\u003e Show pane numbers for a short time\n  - `C-b q 1` -\u003e Change to pane number 1\n  - `C-b o` -\u003e Move to next pane\n  - `C-b s` -\u003e Show all sessions in tree mode collapsed, use \u003cUp\u003e, \u003cDown\u003e, \u003cRight\u003e, \u003cEnter\u003e keys to select and navigate\n  - `C-b w` -\u003e Starts sessions expanded with windows\n  - [Tree mode] `q` -\u003e Quit in tree mode\n\n### vim\nCommands for vim\n\n### exa\nCommands for exa\n\n### bat\nCommands for bat\n\n### rg\nCommands for rg\n\n### fx\nCommands for fx\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeticulouscraftman%2Fcommandline-cheatsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeticulouscraftman%2Fcommandline-cheatsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeticulouscraftman%2Fcommandline-cheatsheet/lists"}