Skip to content

Commit

Permalink
home (nvim): Assign keymaps to important LSP actions
Browse files Browse the repository at this point in the history
  • Loading branch information
britter committed Nov 6, 2024
1 parent be1e5c4 commit aaee728
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion home/terminal/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,18 @@ in {
servers = {
nixd.enable = true;
};
keymaps.lspBuf = {
K = "hover";
gd = "definition";
"<leader>ca" = "code_action";
};
};
lualine.enable = true;
neo-tree.enable = true;
telescope.enable = true;
telescope = {
enable = true;
extensions.ui-select.enable = true;
};
treesitter = {
enable = true;
indent = true;
Expand Down

0 comments on commit aaee728

Please sign in to comment.