fixes and added dependencies
- fix the shortcut to change tab - added `fzf`, `gcc`, `git`, `lazygit`, and `rg` dependencies - added even more lsps
This commit is contained in:
parent
92a1ca2692
commit
52981fda4b
3 changed files with 27 additions and 7 deletions
|
@ -45,4 +45,13 @@
|
|||
virtual_text = false;
|
||||
virtual_line = true;
|
||||
};
|
||||
|
||||
dependencies = {
|
||||
fzf.enable = true;
|
||||
gcc.enable = true;
|
||||
git.enable = true;
|
||||
lazygit.enable = true;
|
||||
tree-sitter.enable = true;
|
||||
ripgrep.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{
|
||||
mode = "n";
|
||||
action = "<cmd>BufferNext<cr>";
|
||||
key = "<S-h>";
|
||||
key = "<S-l>";
|
||||
options = {
|
||||
desc = "Next buffer";
|
||||
};
|
||||
|
@ -23,7 +23,7 @@
|
|||
{
|
||||
mode = "n";
|
||||
action = "<cmd>BufferPrevious<cr>";
|
||||
key = "<S-l>";
|
||||
key = "<S-h>";
|
||||
options = {
|
||||
desc = "Previous buffer";
|
||||
};
|
||||
|
@ -33,7 +33,7 @@
|
|||
{
|
||||
mode = "n";
|
||||
action = "<cmd>BufferMovePrevious";
|
||||
key = "<Shift><Ctrl>H";
|
||||
key = "<S-H><Ctrl>H";
|
||||
options = {
|
||||
desc = "Move buffer to left";
|
||||
};
|
||||
|
@ -42,7 +42,7 @@
|
|||
{
|
||||
mode = "n";
|
||||
action = "<cmd>BufferMoveNext";
|
||||
key = "<Shift><Ctrl>L";
|
||||
key = "<S-L><Ctrl>L";
|
||||
options = {
|
||||
desc = "Move buffer to right";
|
||||
};
|
||||
|
@ -67,6 +67,13 @@
|
|||
};
|
||||
}
|
||||
|
||||
# grug.nvim
|
||||
{
|
||||
mode = "n";
|
||||
action = "<cmd>GrugFar<cr>";
|
||||
key = "<leader>cr";
|
||||
}
|
||||
# lazygit
|
||||
{
|
||||
mode = "n";
|
||||
action = "<cmd>LazyGit<cr>";
|
||||
|
@ -91,7 +98,7 @@
|
|||
{
|
||||
mode = "n";
|
||||
action = {
|
||||
__raw = "function() require('dap') end";
|
||||
__raw = "function() require('dap').toggle_breakpoint() end";
|
||||
};
|
||||
key = "ds";
|
||||
options = {
|
||||
|
@ -132,7 +139,7 @@
|
|||
plugins.fzf-lua.keymaps = {
|
||||
"<leader>/" = "live_grep";
|
||||
"<leader><Space>" = "files";
|
||||
"<leader>fg" = "git_files";
|
||||
"<leader>gf" = "git_files";
|
||||
"<leader>," = "buffers";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
clangd = {
|
||||
enable = true;
|
||||
};
|
||||
astro.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -115,7 +116,10 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
lualine.enable = true;
|
||||
lualine = {
|
||||
enable = true;
|
||||
settings.options.theme = "ayu_light";
|
||||
};
|
||||
|
||||
neotest = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue