{"id":18266866,"url":"https://github.com/w3cdpass/.wezterm.lua","last_synced_at":"2026-01-21T19:36:16.431Z","repository":{"id":258522912,"uuid":"874097394","full_name":"w3cdpass/.wezterm.lua","owner":"w3cdpass","description":"tmux like Key-Binding in .wezterm.lua","archived":false,"fork":false,"pushed_at":"2024-11-03T06:24:37.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T02:24:24.495Z","etag":null,"topics":["key-binding","tmux","wezterm"],"latest_commit_sha":null,"homepage":"","language":null,"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/w3cdpass.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T08:48:22.000Z","updated_at":"2024-11-03T06:24:40.000Z","dependencies_parsed_at":"2025-02-14T20:41:52.866Z","dependency_job_id":"7ae685ad-099d-44f2-afe0-a94363d4a6cd","html_url":"https://github.com/w3cdpass/.wezterm.lua","commit_stats":null,"previous_names":["w3cdpass/.wezterm.lua"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/w3cdpass/.wezterm.lua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2F.wezterm.lua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2F.wezterm.lua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2F.wezterm.lua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2F.wezterm.lua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w3cdpass","download_url":"https://codeload.github.com/w3cdpass/.wezterm.lua/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w3cdpass%2F.wezterm.lua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28641276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T18:04:35.752Z","status":"ssl_error","status_checked_at":"2026-01-21T18:03:55.054Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["key-binding","tmux","wezterm"],"created_at":"2024-11-05T11:25:11.414Z","updated_at":"2026-01-21T19:36:16.415Z","avatar_url":"https://github.com/w3cdpass.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Windows Configuration Steps\r\n\u003cp align=center\u003e\r\n    \u003cimg src=\"https://raw.githubusercontent.com/w3cdpass/stunning-octo-tribble/refs/heads/main/assets/weztermconfig.png\" alt=\"Sample Image\" width=\"800\" /\u003e\r\n\u003c/p\u003e\r\n\r\n\r\n1. **Navigate to WezTerm Config Directory**.\r\n\r\n    Create a file name `.wezterm.lua` in you `%USERPROFILE%` directory.\r\n    ```lua\r\n    vim %USERPROFILE%\\.wezterm.lua\r\n    -- vim ~/.wezterm.lua  \u003c--[Linux/WSL or macOS]\r\n    ```\r\n\r\n2. **Add the Following Config**.\r\n    \r\n    Copy and paste the following configuration into your `.wezterm.lua` file.\r\n\r\n    ```lua\r\n    local wezterm = require(\"wezterm\")\r\n\r\n    local config = wezterm.config_builder()\r\n\r\n    -- you can add custom color_scheme\r\n    config.color_scheme = \"Catppuccin Mocha\"\r\n\r\n    -- you can add custom font\r\n    config.font = wezterm.font(\"JetBrains Mono\")\r\n\r\n    --Key Binding\r\n    config.keys = {\r\n        { key = \"2\", mods = \"ALT\", action = wezterm.action({ SplitHorizontal = { domain = \"CurrentPaneDomain\" } }) },\r\n        { key = \"3\", mods = \"ALT\", action = wezterm.action({ SplitVertical = { domain = \"CurrentPaneDomain\" } }) },\r\n        { key = \"LeftArrow\", mods = \"CTRL\", action = wezterm.action({ ActivatePaneDirection = \"Left\" }) },\r\n        { key = \"RightArrow\", mods = \"CTRL\", action = wezterm.action({ ActivatePaneDirection = \"Right\" }) },\r\n        { key = \"UpArrow\", mods = \"CTRL\", action = wezterm.action({ ActivatePaneDirection = \"Up\" }) },\r\n        { key = \"DownArrow\", mods = \"CTRL\", action = wezterm.action({ ActivatePaneDirection = \"Down\" }) },\r\n        { key = \"RightArrow\", mods = \"ALT|SHIFT\", action = wezterm.action({ AdjustPaneSize = { \"Right\", 1 } }) },\r\n        { key = \"LeftArrow\", mods = \"ALT|SHIFT\", action = wezterm.action({ AdjustPaneSize = { \"Left\", 1 } }) },\r\n        { key = \"DownArrow\", mods = \"ALT|SHIFT\", action = wezterm.action({ AdjustPaneSize = { \"Down\", 1 } }) },\r\n        { key = \"UpArrow\", mods = \"ALT|SHIFT\", action = wezterm.action({ AdjustPaneSize = { \"Up\", 1 } }) },\r\n    }\r\n\r\n    return config\r\n\r\n    ```\r\n\r\n4. **Save the File**\r\n    \r\n    Run `Wezterm` and use `Key-Binding` that are give below .\r\n\r\n---\r\n## Key Bindings in `.wezterm.lua` .\r\n\r\n| **Action**               | **Key Combination**             | **Description**                          |\r\n|--------------------------|---------------------------------|------------------------------------------|\r\n| **Pane Splitting**        |                                 |                                          |\r\n| Split to the right        | `ALT + 2`                       | Split the current pane horizontally      |\r\n| Split to the bottom       | `ALT + 3`                       | Split the current pane vertically        |\r\n|                          |                                 |                                          |\r\n| **Pane Navigation**       |                                 |                                          |\r\n| Move to the left pane     | `CTRL + LeftArrow`              | Switch to the pane on the left           |\r\n| Move to the right pane    | `CTRL + RightArrow`             | Switch to the pane on the right          |\r\n| Move to the top pane      | `CTRL + UpArrow`                | Switch to the pane above                 |\r\n| Move to the bottom pane   | `CTRL + DownArrow`              | Switch to the pane below                 |\r\n|                          |                                 |                                          |\r\n| **Pane Resizing**         |                                 |                                          |\r\n| Increase pane width       | `ALT + SHIFT + RightArrow`      | Make the current pane wider              |\r\n| Decrease pane width       | `ALT + SHIFT + LeftArrow`       | Make the current pane narrower           |\r\n| Increase pane height      | `ALT + SHIFT + DownArrow`       | Make the current pane taller             |\r\n| Decrease pane height      | `ALT + SHIFT + UpArrow`         | Make the current pane shorter            |\r\n\r\n---\r\n\r\n### More on [Official docs of `$WezTwem`](https://wezfurlong.org/wezterm/config/files.html) site .\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3cdpass%2F.wezterm.lua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw3cdpass%2F.wezterm.lua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw3cdpass%2F.wezterm.lua/lists"}