{"id":22550936,"url":"https://github.com/sandptel/nixos-config","last_synced_at":"2026-05-08T14:32:56.255Z","repository":{"id":266941546,"uuid":"899824455","full_name":"sandptel/nixos-config","owner":"sandptel","description":"my personal nixos-configs + [dotfiles]","archived":false,"fork":false,"pushed_at":"2026-03-09T09:17:18.000Z","size":69278,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-09T13:57:43.155Z","etag":null,"topics":["anyrun","dotfiles","hyprland","nix","nixos","nixos-configuration","nixos-dotfiles","pywal","wallust"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/sandptel.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"JaKooLit","ko_fi":"jakoolit"}},"created_at":"2024-12-07T05:35:06.000Z","updated_at":"2026-03-09T09:17:22.000Z","dependencies_parsed_at":"2025-01-07T12:21:57.276Z","dependency_job_id":"24d34dd7-82d1-4f14-b817-2785f2641ac4","html_url":"https://github.com/sandptel/nixos-config","commit_stats":null,"previous_names":["sandptel/nix-config"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sandptel/nixos-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandptel%2Fnixos-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandptel%2Fnixos-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandptel%2Fnixos-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandptel%2Fnixos-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandptel","download_url":"https://codeload.github.com/sandptel/nixos-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandptel%2Fnixos-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32784446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"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":["anyrun","dotfiles","hyprland","nix","nixos","nixos-configuration","nixos-dotfiles","pywal","wallust"],"created_at":"2024-12-07T17:09:06.886Z","updated_at":"2026-05-08T14:32:56.234Z","avatar_url":"https://github.com/sandptel.png","language":"Shell","funding_links":["https://github.com/sponsors/JaKooLit","https://ko-fi.com/jakoolit"],"categories":[],"sub_categories":[],"readme":"# Preview\n\nhttps://github.com/user-attachments/assets/ad5d5f34-cb39-4afe-bc71-4833bdacc037\n\n# **!!! Do Not Blindly install these dots**\n# Installation\n1. Installing Nix\n```bash\nsh \u003c(curl -L https://nixos.org/nix/install) --no-daemon\n . ~/.nix-profile/etc/profile.d/nix.sh\nexport NIX_CONFIG=\"experimental-features = nix-command flakes\"\n```\n2. Clone the Repository\n```bash\ngit clone https://github.com/sandptel\n```\n3. Rebuild Switch Using Flakes\n   Here \u003croronoa\u003e is profile name.\n```bash\nsudo nixos-rebuild switch --flake .#roronoa\n```\nOR direct install via\n```bash\nsudo nixos-rebuild switch --flake github:sandptel/dotfiles#roronoa\n```\n\n\n# Neovim Configs ( Copyable )\n\nThis document provides a performance-optimized configuration for both **Neovim** (Lua) and **VS Code** (JSON).\n\n### Keybindings Strategy\n\n* **Vertical Speed:** `Shift + J/K` jumps 5 lines.\n* **Horizontal Speed:** `H/L` moves to the start/end of the line.\n* **Word Navigation:** `n/m` replaces `w/b` for ergonomic home-row word jumping.\n* **Search Recovery:** Since `n` is now \"word forward\", `Space + n` becomes \"next search match\".\n\n---\n\n## 1. Neovim Configuration (`init.lua`)\n\nPlace this in `~/.config/nvim/init.lua`.\n\n```lua\n-- ==========================================================================\n-- NEOVIM ERGONOMIC NAVIGATION CONFIG\n-- ==========================================================================\n\nlocal map = vim.keymap.set\nlocal opt = { noremap = true, silent = true }\n\n-- 1. Fast Vertical Movement (5 lines at a time)\n-- We use 'n' for normal mode and 'v' for visual mode to keep selection working.\nmap({'n', 'v'}, 'J', '5j', opt)\nmap({'n', 'v'}, 'K', '5k', opt)\n\n-- Recovery: Map 'Join Lines' to \u003cleader\u003ej since J is now movement\nvim.g.mapleader = \" \" -- Ensure space is leader\nmap('n', '\u003cleader\u003ej', 'J', opt)\n\n-- 2. Line Navigation (H for Start, L for End)\nmap({'n', 'v'}, 'H', '^', opt) -- Jump to first non-blank character\nmap({'n', 'v'}, 'L', '$', opt) -- Jump to end of line\n\n-- 3. Word Movement on Home Row (n/m)\n-- This replaces 'w' (forward) and 'b' (backward)\nmap({'n', 'v'}, 'n', 'w', opt)\nmap({'n', 'v'}, 'm', 'b', opt)\n\n-- Recovery: Search Next/Prev Match moved to leader\n-- Since 'n' is taken, we use \u003cleader\u003en to find the next search result\nmap('n', '\u003cleader\u003en', 'n', opt)\nmap('n', '\u003cleader\u003eN', 'N', opt)\n\n-- 4. Quick Escape\n-- The 'jj' sequence to exit insert mode is a life-saver for speed.\nmap('i', 'jj', '\u003cEsc\u003e', opt)\n\n-- 5. Additional Power Moves\n-- Center screen after large jumps (keeps your eyes in the middle)\nmap('n', '\u003cC-d\u003e', '\u003cC-d\u003ezz', opt)\nmap('n', '\u003cC-u\u003e', '\u003cC-u\u003ezz', opt)\n\n-- Clear highlights with Space + l\nmap('n', '\u003cleader\u003el', ':nohlsearch\u003cCR\u003e', opt)\n\n```\n\n---\n\n## 2. VS Code Configuration (`settings.json`)\n\nIf you ever lose this because vscode is a piece of shit: \n\n```json\n{\n  \"editor.fontFamily\": \"Fira Code\",\n  \"editor.fontLigatures\": true,\n  \"github.copilot.nextEditSuggestions.enabled\": true,\n  \"material-code.primaryColor\": \"#7E898C\",\n  \"vim.leader\": \"\u003cspace\u003e\",\n  \"vim.normalModeKeyBindingsNonRecursive\": [\n    /* Fast Vertical Movement */\n    // 3. Word \u0026 Symbol Navigation (n/m)\n    // If you want variable jumping specifically, use the commands below.\n    // To stick to word movement only: change commands to [\"w\"] and [\"b\"]\n    {\n      \"before\": [\n        \"n\"\n      ],\n      \"commands\": [\n        \"editor.action.wordHighlight.next\"\n      ]\n    },\n    {\n      \"before\": [\n        \"m\"\n      ],\n      \"commands\": [\n        \"editor.action.wordHighlight.prev\"\n      ]\n    },\n    // 4. History Navigation (N/M for Jump List)\n    {\n      \"before\": [\n        \"N\"\n      ],\n      \"commands\": [\n        \"workbench.action.navigateBack\"\n      ]\n    },\n    {\n      \"before\": [\n        \"M\"\n      ],\n      \"commands\": [\n        \"workbench.action.navigateForward\"\n      ]\n    },\n    // 5. Tab \u0026 Editor Navigation (Leader + h/l)\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"h\"\n      ],\n      \"commands\": [\n        \"workbench.action.previousEditor\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"l\"\n      ],\n      \"commands\": [\n        \"workbench.action.nextEditor\"\n      ]\n    },\n    // 6. LSP Power Jumps (Spacebar logic)\n    // Double Space for Details, Triple Space for Definition\n    {\n      \"before\": [\n        \"\u003cleader\u003e\"\n      ],\n      \"commands\": [\n        \"editor.action.showHover\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"\u003cleader\u003e\"\n      ],\n      \"commands\": [\n        \"editor.action.revealDefinition\"\n      ]\n    },\n    {\n      \"before\": [\n        \"J\"\n      ],\n      \"after\": [\n        \"5\",\n        \"j\"\n      ]\n    },\n    {\n      \"before\": [\n        \"K\"\n      ],\n      \"after\": [\n        \"5\",\n        \"k\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"j\"\n      ],\n      \"after\": [\n        \"J\"\n      ]\n    },\n    /* Line Start/End */\n    {\n      \"before\": [\n        \"H\"\n      ],\n      \"after\": [\n        \"^\"\n      ]\n    },\n    {\n      \"before\": [\n        \"L\"\n      ],\n      \"after\": [\n        \"$\"\n      ]\n    },\n    /* Home Row Word Movement */\n    {\n      \"before\": [\n        \"n\"\n      ],\n      \"commands\": [\n        \"editor.action.wordHighlight.next\"\n      ]\n    },\n    // Jump to the PREVIOUS occurrence of the word under the cursor\n    {\n      \"before\": [\n        \"m\"\n      ],\n      \"commands\": [\n        \"editor.action.wordHighlight.prev\"\n      ]\n    },\n    /* Search Recovery */\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"n\"\n      ],\n      \"after\": [\n        \"n\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"N\"\n      ],\n      \"after\": [\n        \"N\"\n      ]\n    },\n    /* Utilities */\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"l\"\n      ],\n      \"commands\": [\n        \":nohl\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"w\"\n      ],\n      \"commands\": [\n        \"workbench.action.files.save\"\n      ]\n    }\n  ],\n  \"vim.visualModeKeyBindingsNonRecursive\": [\n    {\n      \"before\": [\n        \"J\"\n      ],\n      \"after\": [\n        \"5\",\n        \"j\"\n      ]\n    },\n    {\n      \"before\": [\n        \"K\"\n      ],\n      \"after\": [\n        \"5\",\n        \"k\"\n      ]\n    },\n    {\n      \"before\": [\n        \"H\"\n      ],\n      \"after\": [\n        \"^\"\n      ]\n    },\n    {\n      \"before\": [\n        \"L\"\n      ],\n      \"after\": [\n        \"$\"\n      ]\n    },\n    {\n      \"before\": [\n        \"n\"\n      ],\n      \"after\": [\n        \"w\"\n      ]\n    },\n    {\n      \"before\": [\n        \"m\"\n      ],\n      \"after\": [\n        \"b\"\n      ]\n    }\n  ],\n  \"vim.insertModeKeyBindings\": [\n    {\n      \"before\": [\n        \"j\",\n        \"j\"\n      ],\n      \"after\": [\n        \"\u003cEsc\u003e\"\n      ]\n    }\n  ],\n  \"vim.handleKeys\": {\n    \"\u003cC-c\u003e\": false,\n    \"\u003cC-x\u003e\": false,\n    \"\u003cC-y\u003e\": false,\n    \"\u003cC-k\u003e\": false,\n    \"\u003cC-l\u003e\": false,\n    \"\u003cC-j\u003e\": false,\n    \"\u003cC-a\u003e\": false,\n    \"\u003cC-w\u003e\": false\n  },\n  \"files.autoSave\": \"afterDelay\",\n  \"editor.fontSize\": 17,\n  \"chat.agent.maxRequests\": 200,\n  \"chat.checkpoints.showFileChanges\": true,\n  \"chat.customAgentInSubagent.enabled\": true,\n  \"chat.editor.fontFamily\": \"Fira Code\",\n  \"chat.editor.fontSize\": 15,\n  \"git.openRepositoryInParentFolders\": \"never\"\n}\n\n```\n\n---\n\nFinal VsCode.json file :\n```\n{\n  //vscode settings.json\n  \"editor.fontFamily\": \"Fira Code\",\n  \"editor.fontLigatures\": true,\n  \"github.copilot.nextEditSuggestions.fixes\": true,\n  \"github.copilot.editor.enableCodeActions\": true,\n  \"terminal.integrated.fontFamily\": \"'JetBrainsMono Nerd Font', 'Material Design Icons', monospace\",\n  \"material-code.primaryColor\": \"#66AF5A\",\n  \"vim.leader\": \"\u003cspace\u003e\",\n  \"vim.normalModeKeyBindingsNonRecursive\": [\n    /* Fast Vertical Movement */\n    // 3. Word \u0026 Symbol Navigation (n/m)\n    // If you want variable jumping specifically, use the commands below.\n    // To stick to word movement only: change commands to [\"w\"] and [\"b\"]\n    {\n      \"before\": [\n        \"n\"\n      ],\n      \"commands\": [\n        \"editor.action.wordHighlight.next\"\n      ]\n    },\n    {\n      \"before\": [\n        \"m\"\n      ],\n      \"commands\": [\n        \"editor.action.wordHighlight.prev\"\n      ]\n    },\n    // 4. History Navigation (N/M for Jump List)\n    {\n      \"before\": [\n        \"N\"\n      ],\n      \"commands\": [\n        \"workbench.action.navigateBack\"\n      ]\n    },\n    {\n      \"before\": [\n        \"M\"\n      ],\n      \"commands\": [\n        \"workbench.action.navigateForward\"\n      ]\n    },\n    // 5. Tab \u0026 Editor Navigation (Leader + h/l)\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"h\"\n      ],\n      \"commands\": [\n        \"workbench.action.previousEditor\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"l\"\n      ],\n      \"commands\": [\n        \"workbench.action.nextEditor\"\n      ]\n    },\n    // 6. LSP Power Jumps (Spacebar logic)\n    // Double Space for Details, Triple Space for Definition\n    {\n      \"before\": [\n        \"\u003cleader\u003e\"\n      ],\n      \"commands\": [\n        \"editor.action.showHover\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"\u003cleader\u003e\"\n      ],\n      \"commands\": [\n        \"editor.action.revealDefinition\"\n      ]\n    },\n    {\n      \"before\": [\n        \"J\"\n      ],\n      \"after\": [\n        \"5\",\n        \"j\"\n      ]\n    },\n    {\n      \"before\": [\n        \"K\"\n      ],\n      \"after\": [\n        \"5\",\n        \"k\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"j\"\n      ],\n      \"after\": [\n        \"J\"\n      ]\n    },\n    /* Line Start/End */\n    {\n      \"before\": [\n        \"H\"\n      ],\n      \"after\": [\n        \"B\"\n      ]\n    },\n    {\n      \"before\": [\n        \"L\"\n      ],\n      \"after\": [\n        \"E\"\n      ]\n    },\n    /* Home Row Word Movement */\n    {\n      \"before\": [\n        \"n\"\n      ],\n      \"commands\": [\n        \"editor.action.wordHighlight.next\"\n      ]\n    },\n    // Jump to the PREVIOUS occurrence of the word under the cursor\n    {\n      \"before\": [\n        \"m\"\n      ],\n      \"commands\": [\n        \"editor.action.wordHighlight.prev\"\n      ]\n    },\n    /* Search Recovery */\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"n\"\n      ],\n      \"after\": [\n        \"n\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"N\"\n      ],\n      \"after\": [\n        \"N\"\n      ]\n    },\n    /* Utilities */\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"l\"\n      ],\n      \"commands\": [\n        \":nohl\"\n      ]\n    },\n    {\n      \"before\": [\n        \"\u003cleader\u003e\",\n        \"w\"\n      ],\n      \"commands\": [\n        \"workbench.action.files.save\"\n      ]\n    }\n  ],\n  \"vim.visualModeKeyBindingsNonRecursive\": [\n    {\n      \"before\": [\n        \"J\"\n      ],\n      \"after\": [\n        \"5\",\n        \"j\"\n      ]\n    },\n    {\n      \"before\": [\n        \"K\"\n      ],\n      \"after\": [\n        \"5\",\n        \"k\"\n      ]\n    },\n    {\n      \"before\": [\n        \"H\"\n      ],\n      \"after\": [\n        \"^\"\n      ]\n    },\n    {\n      \"before\": [\n        \"L\"\n      ],\n      \"after\": [\n        \"$\"\n      ]\n    },\n    {\n      \"before\": [\n        \"n\"\n      ],\n      \"after\": [\n        \"w\"\n      ]\n    },\n    {\n      \"before\": [\n        \"m\"\n      ],\n      \"after\": [\n        \"b\"\n      ]\n    }\n  ],\n  \"vim.insertModeKeyBindings\": [\n    {\n      \"before\": [\n        \"j\",\n        \"j\"\n      ],\n      \"after\": [\n        \"\u003cEsc\u003e\"\n      ]\n    }\n  ],\n  \"vim.handleKeys\": {\n    \"\u003cC-c\u003e\": false,\n    \"\u003cC-x\u003e\": false,\n    \"\u003cC-y\u003e\": false,\n    \"\u003cC-k\u003e\": false,\n    \"\u003cC-l\u003e\": false,\n    \"\u003cC-j\u003e\": false,\n    \"\u003cC-b\u003e\": false,\n    \"\u003cC-a\u003e\": false,\n    \"\u003cC-e\u003e\": false,\n    \"\u003cC-r\u003e\": false,\n    \"\u003cC-d\u003e\": false,\n    \"\u003cC-f\u003e\": false,\n    \"\u003cC-w\u003e\": false,\n    \"\u003cC-u\u003e\": false,\n    \"\u003cC-n\u003e\": false,\n  },\n  \"vim.useSystemClipboard\": true,\n  \"files.autoSave\": \"afterDelay\",\n  \"editor.fontSize\": 17,\n  \"chat.agent.maxRequests\": 200,\n  \"chat.checkpoints.showFileChanges\": true,\n  \"chat.customAgentInSubagent.enabled\": true,\n  \"chat.editor.fontFamily\": \"Fira Code\",\n  \"chat.editor.fontSize\": 15,\n  \"git.openRepositoryInParentFolders\": \"never\",\n  \"accessibility.signalOptions.volume\": 0,\n  \"chat.fontSize\": 17,\n  \"chat.viewSessions.orientation\": \"stacked\",\n  \"workbench.colorTheme\": \"Gruvbox Light Soft\",\n  \"chat.edits2.enabled\": true,\n  \"chat.mcp.gallery.enabled\": true,\n  \"chat.editing.confirmEditRequestRemoval\": false,\n  \"[nix]\": {\n    \"editor.defaultFormatter\": \"brettm12345.nixfmt-vscode\"\n  },\n  \"editor.accessibilitySupport\": \"on\",\n  \"workbench.panel.showLabels\": false,\n  \"nix.enableLanguageServer\": true,\n  \"nix.serverPath\": \"nixd\",\n  \"nix.serverSettings\": {\n    \"nixd\": {\n      \"formatting\": {\n        \"command\": [\n          \"nixfmt\"\n        ] // or \"alejandra\"\n      },\n      \"options\": {\n        // ENABLE NIXOS OPTIONS AUTOCOMPLETE\n        // Replace \"/absolute/path/to/flake\" and \"yourHostname\"\n        \"nixos\": {\n          \"expr\": \"(builtins.getFlake \\\"/home/user/dotfiles\\\").nixosConfigurations.yourHostname.options\"\n        },\n        // ENABLE HOME-MANAGER OPTIONS AUTOCOMPLETE\n        // Replace \"user@hostname\" with your actual home-manager config name\n        \"home-manager\": {\n          \"expr\": \"(builtins.getFlake \\\"/home/user/dotfiles\\\").homeConfigurations.\\\"user@hostname\\\".options\"\n        }\n      },\n      \"diagnostic\": {\n        // Suppress annoying \"variable not found\" errors if you use a lot of 'with' scopes\n        \"suppress\": [\n          \"sema-extra-with\"\n        ]\n      }\n    }\n  }\n}\n```\n## Vimium Config\n```\n# ==============================================================================\n# UNIVERSAL DEVELOPER VIMIUM CONFIG (PAGE-JUMP VERSION)\n# ==============================================================================\n\n# --- 1. ESCAPE \u0026 MODE SWITCHING ---\nunmap a\nmap a focusInput\nmap p enterInsertMode\nunmap f\n\n# --- 2. THE J/K POWER MAPPING (Page Up/Down) ---\nunmap J\nunmap K\nmap J scrollFullPageDown\nmap K scrollFullPageUp\n\n# --- 3. LINK INTERACTION (Home Row) ---\nunmap i\nmap i LinkHints.activateMode\nmap I LinkHints.activateModeToOpenInNewTab\nmap yi LinkHints.activateModeToCopyLinkUrl\n\n# --- 4. SCROLLING (Half Page) ---\nunmap w\nunmap b\nunmap u\nmap u visitPreviousTab\n\n# --- 5. HISTORY \u0026 URL HIERARCHY (N/M) ---\nunmap n\nunmap m\n\nmap n goBack\nmap m goForward\n\nmap H goBack\nmap L goForward\n\n# --- 6. TAB NAVIGATION (H/L) ---\n\nmap h previousTab\nmap l nextTab\n\n# --- 7. MISC ---\nunmap \u003ca-m\u003e\nmapkey \u003ca-i\u003e \u003cc-[\u003e\n\nunmap o\nmap o Vomnibar.activateInNewTab\nunmap O \nmap O Vomnibar.activate\n\nmap fo Vomnibar.activateEditUrlInNewTab\nmap fO Vomnibar.activateEditUrl\n```\n## Tmux Configs\n```conf\n# ==============================================================================\n# UNIVERSAL DEVELOPER TMUX CONFIG (CONTROL-KEY POWER)\n# ==============================================================================\n\nunbind C-b\nset -g prefix C-Space\nbind C-Space send-prefix\n\n# --- 4. REPEATABLE RESIZING (Prefix, then tap h, j, k, l) ---\n# The '-r' flag means you press Prefix ONCE, then you have 500ms to tap\n# h, j, k, or l repeatedly to resize the window exactly how you want.\nbind -r h resize-pane -L 5\nbind -r j resize-pane -D 5\nbind -r k resize-pane -U 5\nbind -r l resize-pane -R 5\n\n# --- 0.1. VIM-LIKE SPLITTING ---\n# v for vertical, s for horizontal (matching Vim)\nbind v split-window -h -c \"#{pane_current_path}\"\nbind s split-window -v -c \"#{pane_current_path}\"\nbind b break-pane\nunbind '\"'\nunbind %\n\n# --- 1. GENERAL SETTINGS ---\nset -g mouse on               # Enable touchpad/mouse scrolling and clicking\nset -g base-index 1           # Start windows at 1 (matches keyboard)\nset -g pane-base-index 1      # Start panes at 1\nset -g renumber-windows on    # Automatically renumber windows when one is closed\nset -g status-interval 1      # Refresh status bar every second\n\n# --- 2. WINDOW MANAGEMENT (n, m, x, t) ---\n# Ctrl+left / Ctrl+right: Move back and forth between windows\nbind -n S-left previous-window\nbind -n S-right next-window\nbind -n S-Down switch-client -p\nbind -n S-Up switch-client -n\n\n# Shift+Down to cycle to the next pane\nbind -n C-e select-pane -t :.+\n\n# Shift+Up to cycle to the previous pane\nbind -n C-b select-pane -t :.-\n\n# Ctrl+t: Create new window\nbind -n C-t new-window -c \"#{pane_current_path}\"\nbind -n C-T new-session\n\n# Ctrl+x: Kill (Delete) current window\nbind -n C-x kill-window\nbind -n C-X detach-client\n\n# --- 3. SESSION MANAGEMENT (N, M, T, B) ---\n\n# Prefix + Ctrl+k: FETCH window from another session to here\n# (Prompts for the target. E.g., type 'work:2' to pull window 2 from the 'work' session)\nbind C-Down command-prompt -p \"Send window to session:\" \"move-window -t '%%:'\"\nbind C-Up command-prompt -p \"Fetch window from (session:window):\" \"move-window -s '%%'\"\n\n# --- 5. EXIT \u0026 EMERGENCY ---\n# Prefix + q: Exit Tmux entirely (kills the server)\nbind q confirm-before -p \"Kill tmux server? (y/n)\" kill-server\n\n# --- 6. CLIPBOARD (NixOS/Wayland Fix) ---\nsetw -g mode-keys vi\nbind -T copy-mode-vi y send -X copy-pipe-and-cancel \"wl-copy\"\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandptel%2Fnixos-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandptel%2Fnixos-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandptel%2Fnixos-config/lists"}