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_text = false;
|
||||||
virtual_line = true;
|
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";
|
mode = "n";
|
||||||
action = "<cmd>BufferNext<cr>";
|
action = "<cmd>BufferNext<cr>";
|
||||||
key = "<S-h>";
|
key = "<S-l>";
|
||||||
options = {
|
options = {
|
||||||
desc = "Next buffer";
|
desc = "Next buffer";
|
||||||
};
|
};
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<cmd>BufferPrevious<cr>";
|
action = "<cmd>BufferPrevious<cr>";
|
||||||
key = "<S-l>";
|
key = "<S-h>";
|
||||||
options = {
|
options = {
|
||||||
desc = "Previous buffer";
|
desc = "Previous buffer";
|
||||||
};
|
};
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<cmd>BufferMovePrevious";
|
action = "<cmd>BufferMovePrevious";
|
||||||
key = "<Shift><Ctrl>H";
|
key = "<S-H><Ctrl>H";
|
||||||
options = {
|
options = {
|
||||||
desc = "Move buffer to left";
|
desc = "Move buffer to left";
|
||||||
};
|
};
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<cmd>BufferMoveNext";
|
action = "<cmd>BufferMoveNext";
|
||||||
key = "<Shift><Ctrl>L";
|
key = "<S-L><Ctrl>L";
|
||||||
options = {
|
options = {
|
||||||
desc = "Move buffer to right";
|
desc = "Move buffer to right";
|
||||||
};
|
};
|
||||||
|
@ -67,6 +67,13 @@
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# grug.nvim
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
action = "<cmd>GrugFar<cr>";
|
||||||
|
key = "<leader>cr";
|
||||||
|
}
|
||||||
|
# lazygit
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = "<cmd>LazyGit<cr>";
|
action = "<cmd>LazyGit<cr>";
|
||||||
|
@ -91,7 +98,7 @@
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
action = {
|
action = {
|
||||||
__raw = "function() require('dap') end";
|
__raw = "function() require('dap').toggle_breakpoint() end";
|
||||||
};
|
};
|
||||||
key = "ds";
|
key = "ds";
|
||||||
options = {
|
options = {
|
||||||
|
@ -132,7 +139,7 @@
|
||||||
plugins.fzf-lua.keymaps = {
|
plugins.fzf-lua.keymaps = {
|
||||||
"<leader>/" = "live_grep";
|
"<leader>/" = "live_grep";
|
||||||
"<leader><Space>" = "files";
|
"<leader><Space>" = "files";
|
||||||
"<leader>fg" = "git_files";
|
"<leader>gf" = "git_files";
|
||||||
"<leader>," = "buffers";
|
"<leader>," = "buffers";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
clangd = {
|
clangd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
astro.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -115,7 +116,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
lualine.enable = true;
|
lualine = {
|
||||||
|
enable = true;
|
||||||
|
settings.options.theme = "ayu_light";
|
||||||
|
};
|
||||||
|
|
||||||
neotest = {
|
neotest = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue