| ... | ... | @@ -60,15 +60,17 @@ |
| 60 | 60 | inlayHints.enable = true; |
| 61 | 61 | # Nice mappings that I use :3 |
| 62 | 62 | mappings = { |
| 63 | | codeAction = "<leader>ca"; |
| 63 | codeAction = null; # in keymaps |
| 64 | 64 | goToDeclaration = "gD"; |
| 65 | 65 | goToDefinition = "gd"; |
| 66 | | listReferences = "gr"; |
| 67 | | goToType = "gy"; |
| 66 | # TODO: changing these works but there is something else defining stuff |
| 67 | # like grn, grr, grt, etc |
| 68 | listReferences = "grr"; |
| 69 | goToType = "grt"; |
| 68 | 70 | hover = "K"; |
| 69 | 71 | nextDiagnostic = null; # ]d |
| 70 | 72 | openDiagnosticFloat = "<leader>d"; |
| 71 | | renameSymbol = "rn"; |
| 73 | renameSymbol = "grn"; |
| 72 | 74 | documentHighlight = null; |
| 73 | 75 | listDocumentSymbols = null; |
| 74 | 76 | listImplementations = null; |
| ... | ... | @@ -83,6 +85,14 @@ |
| 83 | 85 | treesitter = { |
| 84 | 86 | enable = true; |
| 85 | 87 | addDefaultGrammars = true; |
| 88 | # this is buggy and keybind.nix overwrites its keymaps anyways |
| 89 | incrementalSelection.enable = false; |
| 90 | mappings.incrementalSelection = { |
| 91 | decrementByNode = null; |
| 92 | incrementByNode = null; |
| 93 | incrementByScope = null; |
| 94 | init = null; |
| 95 | }; |
| 86 | 96 | }; |
| 87 | 97 | debugger.nvim-dap = { |
| 88 | 98 | enable = true; |