fixed select keybind

This commit is contained in:
2025-11-14 23:11:46 +01:00
parent e70b52f25a
commit 997dc98123
5 changed files with 55 additions and 18 deletions

View File

@@ -1,17 +1,11 @@
local M = {}
local function CurrentTime()
return os.date("%H:%M:%S")
end
local function Text(text)
return function()
return text
end
end
local theme = require('plugins.config.lualine.nord_theme')
local opts = {
options = {
theme = theme.spec,
@@ -30,10 +24,16 @@ local opts = {
end,
tabs_color = {
inactive = { fg = theme.colors.nord5 },
active = { fg = theme.colors.nord8 },
active = { fg = theme.colors.nord8 },
}
}, 'filename', 'branch', 'diff' },
lualine_c = {},
lualine_c = {
{
require('tmux-status').tmux_windows,
cond = require('tmux-status').show,
padding = { left = 3 },
},
},
lualine_x = {},
lualine_y = { 'filetype', { 'diagnostics', always_visible = true }, 'progress' },
lualine_z = {
@@ -59,4 +59,11 @@ local opts = {
extensions = {},
}
require('lualine').setup(opts)
M.setup = function()
require('lualine').setup(opts)
end
M.setup()
return M

View File

@@ -3,9 +3,20 @@ return {
event = "VeryLazy",
lazy = false,
config = function()
require('plugins.config.lualine')
local lualineConfig = require('plugins.config.lualine')
-- loading lualine delayed again because of transparency issues
vim.defer_fn(function()
lualineConfig.setup()
end, 100)
end,
dependencies = {
require("plugins.spec.theme")
require("plugins.spec.theme"),
{
"christopher-francisco/tmux-status.nvim",
lazy = true,
opts = {},
},
}
}

View File

@@ -2,26 +2,29 @@ return {
{
'catppuccin/nvim',
as = 'catppuccin',
enabled = false,
config = function()
require("catppuccin").setup {
flavour = "mocha",
transparent_background = true
}
-- vim.cmd [[ colorscheme catppuccin ]]
vim.cmd [[ colorscheme catppuccin ]]
end
},
{
'EdenEast/nightfox.nvim',
enabled = false,
config = function()
require('nightfox').setup {
options = { transparent = true }
}
-- vim.cmd [[ colorscheme nightfox ]]
vim.cmd [[ colorscheme nightfox ]]
end,
},
{
'navarasu/onedark.nvim',
enabled = false,
config = function()
require('onedark').setup {
transparent = true,
@@ -30,14 +33,29 @@ return {
}
}
-- vim.cmd [[ colorscheme onedark ]]
vim.cmd [[ colorscheme onedark ]]
end
},
{
'shaunsingh/nord.nvim',
enabled = false,
config = function()
vim.g.nord_disable_background = true
vim.cmd [[colorscheme nord]]
end
},
{
'rmehri01/onenord.nvim',
enabled = true,
config = function()
require('onenord').setup({
disable = {
background = true, -- Disable setting the background color
float_background = true, -- Disable setting the background color for floating windows
cursorline = true, -- Disable the cursorline
eob_lines = true, -- Hide the end-of-buffer lines
}
})
end
}
}

View File

@@ -36,6 +36,7 @@
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
gtk-key-theme = "Default";
};
};

View File

@@ -25,6 +25,7 @@ in
bind C-o display-popup -E "tms"
set-option -g mode-keys vi
set -g mouse on
set -g status on
'';
programs.tmux.plugins = [
@@ -47,8 +48,7 @@ in
];
xdg.configFile = {
"tms/config.toml".source =
./tms/config.toml;
"tms/config.toml".source = ./tms/config.toml;
};
};
}