Adjust nvim plugin config
This commit is contained in:
parent
ae8f08699e
commit
33cfc9a61e
1 changed files with 45 additions and 2 deletions
|
|
@ -40,9 +40,32 @@
|
||||||
# Plugins
|
# Plugins
|
||||||
plugins = {
|
plugins = {
|
||||||
|
|
||||||
bufferline.enable = true;
|
bufferline = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
options = {
|
||||||
|
separator_style = [ "" "" ]; # Remove gaps between tabs
|
||||||
|
offsets = [
|
||||||
|
{
|
||||||
|
filetype = "NvimTree";
|
||||||
|
text = "File Explorer";
|
||||||
|
text_align = "left";
|
||||||
|
separator = true; # Remove separator line
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
gitsigns.enable = true;
|
gitsigns.enable = true;
|
||||||
indent-blankline.enable = true;
|
indent-blankline = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
indent = {
|
||||||
|
char = "▏"; # Thinner vertical line
|
||||||
|
highlight = "NonText"; # Even more subtle highlight group
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# File explorer
|
# File explorer
|
||||||
nvim-tree = {
|
nvim-tree = {
|
||||||
|
|
@ -196,6 +219,26 @@
|
||||||
options = { desc = "Refresh"; };
|
options = { desc = "Refresh"; };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Buffer/Tab navigation
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<S-h>";
|
||||||
|
action = ":BufferLineCyclePrev<CR>";
|
||||||
|
options = { desc = "Previous buffer"; };
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<S-l>";
|
||||||
|
action = ":BufferLineCycleNext<CR>";
|
||||||
|
options = { desc = "Next buffer"; };
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>x";
|
||||||
|
action = ":bp|bd #<CR>";
|
||||||
|
options = { desc = "Close current buffer"; };
|
||||||
|
}
|
||||||
|
|
||||||
# System integration
|
# System integration
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue