This commit is contained in:
iFargle 2024-02-13 14:19:41 +09:00
parent eaa983e31f
commit 1b277cf390

View file

@ -54,8 +54,6 @@
# Fugitive # Fugitive
(nmap "<leader>gc" ":Git commit -a<CR>" // desc "[C]ommit" ) (nmap "<leader>gc" ":Git commit -a<CR>" // desc "[C]ommit" )
(nmap "<leader>gp" ":Git push<CR>" // desc "[P]ush") (nmap "<leader>gp" ":Git push<CR>" // desc "[P]ush")
# LSP
(nmap "<leader>lh" "vim.lsp.buf.hover()" // desc "LSP [H]over")
]; ];
options = { options = {
@ -154,6 +152,18 @@
cssls.enable = true; cssls.enable = true;
bashls.enable = true; bashls.enable = true;
}; };
keymaps = {
silent = true;
diagnostic = {
"<leader>k" = "goto_prev";
"<leader>j" = "goto_next";
};
lspBuf = {
gd = "definition";
K = "hover";
};
};
}; };
nvim-cmp = { nvim-cmp = {