install barbar
This commit is contained in:
parent
1d437e573d
commit
1e3570df78
3 changed files with 4 additions and 15 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
keymaps = [
|
keymaps = [
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
extraConfigLuaPost = ''
|
extraConfigLuaPost = ''
|
||||||
local map = vim.keymap.set
|
local map = vim.keymap.set
|
||||||
for i = 1, 10 do
|
for i = 1, 10 do
|
||||||
map('n', '<A-' .. i .. '>', '<cmd> LualineBuffersJump! ' .. i .. '<cr>')
|
map('n', '<A-' .. i .. '>', '<cmd> BufferGoto ' .. i .. '<cr>')
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
opts = {
|
opts = {
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
barbar = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
lualine = {
|
lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -57,14 +60,6 @@
|
||||||
"location"
|
"location"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
tabline = {
|
|
||||||
lualine_a = [ "buffers" ];
|
|
||||||
lualine_b = [ "branch" ];
|
|
||||||
lualine_c = [ ];
|
|
||||||
lualine_x = [ ];
|
|
||||||
lualine_y = [ ];
|
|
||||||
lualine_z = [ "tabs" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue