Compare commits
6 commits
a62dcaf072
...
7b3b6e3ed6
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b3b6e3ed6 | |||
| 4640407d14 | |||
| 1725495890 | |||
| 4403ce1dc8 | |||
| 5e9c8d7820 | |||
| 22d43ea656 |
4 changed files with 92 additions and 51 deletions
78
flake.lock
generated
78
flake.lock
generated
|
|
@ -2,18 +2,17 @@
|
|||
"nodes": {
|
||||
"devshell": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717408969,
|
||||
"narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=",
|
||||
"lastModified": 1722113426,
|
||||
"narHash": "sha256-Yo/3loq572A8Su6aY5GP56knpuKYRvM2a1meP9oJZCw=",
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"rev": "1ebbe68d57457c8cae98145410b164b5477761f4",
|
||||
"rev": "67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -44,11 +43,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719877454,
|
||||
"narHash": "sha256-g5N1yyOSsPNiOlFfkuI/wcUjmtah+nxdImJqrSATjOU=",
|
||||
"lastModified": 1722555600,
|
||||
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "4e3583423212f9303aa1a6337f8dffb415920e4f",
|
||||
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -62,11 +61,11 @@
|
|||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1701680307,
|
||||
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
|
||||
"lastModified": 1710146030,
|
||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
|
||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -92,11 +91,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719259945,
|
||||
"narHash": "sha256-F1h+XIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4=",
|
||||
"lastModified": 1724857454,
|
||||
"narHash": "sha256-Qyl9Q4QMTLZnnBb/8OuQ9LSkzWjBU1T5l5zIzTxkkhk=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07",
|
||||
"rev": "4509ca64f1084e73bc7a721b20c669a8d4c5ebe6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -135,11 +134,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719827439,
|
||||
"narHash": "sha256-tneHOIv1lEavZ0vQ+rgz67LPNCgOZVByYki3OkSshFU=",
|
||||
"lastModified": 1724435763,
|
||||
"narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "59ce796b2563e19821361abbe2067c3bb4143a7d",
|
||||
"rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -156,11 +155,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719845423,
|
||||
"narHash": "sha256-ZLHDmWAsHQQKnmfyhYSHJDlt8Wfjv6SQhl2qek42O7A=",
|
||||
"lastModified": 1724561770,
|
||||
"narHash": "sha256-zv8C9RNa86CIpyHwPIVO/k+5TfM8ZbjGwOOpTe1grls=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "ec12b88104d6c117871fad55e931addac4626756",
|
||||
"rev": "ac5694a0b855a981e81b4d9f14052e3ff46ca39e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -193,11 +192,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1720542800,
|
||||
"narHash": "sha256-ZgnNHuKV6h2+fQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ=",
|
||||
"lastModified": 1725432240,
|
||||
"narHash": "sha256-+yj+xgsfZaErbfYM3T+QvEE2hU7UuE+Jf0fJCJ8uPS0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "feb2849fdeb70028c70d73b848214b00d324a497",
|
||||
"rev": "ad416d066ca1222956472ab7d0555a6946746a80",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -218,14 +217,15 @@
|
|||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nuschtosSearch": "nuschtosSearch",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1720864742,
|
||||
"narHash": "sha256-NVkF91eZPav7zbcMR+7mUzOdMKgIEBJSwtFU2rv1OpY=",
|
||||
"lastModified": 1725478117,
|
||||
"narHash": "sha256-Ly0DgmYniwBtQ+3aW4JO9ETJq9nbPemlISxC6MEDyB8=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "195978e6272702ea5d6e9b837d083c411dc5d688",
|
||||
"rev": "2ef974182ef62a6a6992118f0beb54dce812ae9b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -266,6 +266,28 @@
|
|||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"nuschtosSearch": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1724584782,
|
||||
"narHash": "sha256-7FfHv7b1jwMPSu9SPY9hdxStk8E6EeSwzqdvV69U4BM=",
|
||||
"owner": "NuschtOS",
|
||||
"repo": "search",
|
||||
"rev": "5a08d691de30b6fc28d58ce71a5e420f2694e087",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NuschtOS",
|
||||
"repo": "search",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nix-formatter-pack": "nix-formatter-pack",
|
||||
|
|
@ -296,11 +318,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719887753,
|
||||
"narHash": "sha256-p0B2r98UtZzRDM5miGRafL4h7TwGRC4DII+XXHDHqek=",
|
||||
"lastModified": 1724833132,
|
||||
"narHash": "sha256-F4djBvyNRAXGusJiNYInqR6zIMI3rvlp6WiKwsRISos=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "bdb6355009562d8f9313d9460c0d3860f525bc6c",
|
||||
"rev": "3ffd842a5f50f435d3e603312eefa4790db46af5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@ _: {
|
|||
keymaps = [
|
||||
{
|
||||
key = "<leader>O";
|
||||
action = "function() require('oil').toggle_float() end";
|
||||
action = "<Cmd>Oil<Cr>";
|
||||
options.desc = "Toggle oil floating window";
|
||||
mode = "n";
|
||||
}
|
||||
{
|
||||
key = "<leader>to";
|
||||
action = "function() require('oil').toggle_float() end";
|
||||
action.__raw = "function() require('oil').toggle_float() end";
|
||||
options.desc = "Toggle oil floating window";
|
||||
mode = "n";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,8 @@
|
|||
enable = true;
|
||||
keymaps = lib.mkForce { };
|
||||
};
|
||||
|
||||
settings.highlight.enable = true;
|
||||
};
|
||||
|
||||
rootOpts = {
|
||||
|
|
|
|||
|
|
@ -5,31 +5,48 @@
|
|||
{
|
||||
opts = {
|
||||
enable = true;
|
||||
|
||||
|
||||
# Disable which-key when in neo-tree or telescope
|
||||
|
||||
settings = {
|
||||
icons.group = "";
|
||||
window.border = "single";
|
||||
|
||||
# Disable which-key when in neo-tree or telescope
|
||||
disable.filetypes = [
|
||||
# Customize section names (prefixed mappings)
|
||||
spec = [
|
||||
{ __unkeyed = "<leader>b"; group = "Buffers"; icon = icons.Tab; }
|
||||
{ __unkeyed = "<leader>bs"; group = "Sort Buffers"; icon = icons.Sort;}
|
||||
{ __unkeyed = "<leader>d"; group = "Debugger"; icon = icons.Debugger;}
|
||||
{ __unkeyed = "<leader>f"; group = "Find"; icon = icons.Search;}
|
||||
{ __unkeyed = "<leader>g"; group = "Git"; icon = icons.Git;}
|
||||
{ __unkeyed = "<leader>l"; group = "Language Tools"; icon = icons.ActiveLSP;}
|
||||
{ __unkeyed = "<leader>m"; group = " Markdown"; }
|
||||
{ __unkeyed = "<leader>s"; group = "Session"; icon = icons.Session;}
|
||||
{ __unkeyed = "<leader>t"; group = "Terminal"; icon = icons.Terminal;}
|
||||
{ __unkeyed = "<leader>u"; group = "UI/UX"; icon = icons.Window;}
|
||||
];
|
||||
|
||||
disable.ft = [
|
||||
"TelescopePrompt"
|
||||
"neo-tree"
|
||||
"neo-tree-popup"
|
||||
];
|
||||
|
||||
# Customize section names (prefixed mappings)
|
||||
registrations = {
|
||||
"<leader>b".name = "${icons.Tab} Buffers";
|
||||
"<leader>bs".name = "${icons.Sort} Sort Buffers";
|
||||
"<leader>d".name = "${icons.Debugger} Debugger";
|
||||
"<leader>f".name = "${icons.Search} Find";
|
||||
"<leader>g".name = "${icons.Git} Git";
|
||||
"<leader>l".name = "${icons.ActiveLSP} Language Tools";
|
||||
"<leader>m".name = " Markdown";
|
||||
"<leader>s".name = "${icons.Session} Session";
|
||||
"<leader>t".name = "${icons.Terminal} Terminal";
|
||||
"<leader>u".name = "${icons.Window} UI/UX";
|
||||
";".name = "Arrow buffers"; # This should move to arrow.nix when moving to which-key.add()
|
||||
"m".name = "Arrow marks"; # This should move to arrow.nix when moving to which-key.add(
|
||||
};
|
||||
|
||||
|
||||
# registrations = {
|
||||
# "<leader>b".name = "${icons.Tab} Buffers";
|
||||
# "<leader>bs".name = "${icons.Sort} Sort Buffers";
|
||||
# "<leader>d".name = "${icons.Debugger} Debugger";
|
||||
# "<leader>f".name = "${icons.Search} Find";
|
||||
# "<leader>g".name = "${icons.Git} Git";
|
||||
# "<leader>l".name = "${icons.ActiveLSP} Language Tools";
|
||||
# "<leader>m".name = " Markdown";
|
||||
# "<leader>s".name = "${icons.Session} Session";
|
||||
# "<leader>t".name = "${icons.Terminal} Terminal";
|
||||
# "<leader>u".name = "${icons.Window} UI/UX";
|
||||
# };
|
||||
};
|
||||
|
||||
# Enable catppuccin colors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue