fixed select keybind
This commit is contained in:
@@ -1,17 +1,11 @@
|
|||||||
|
local M = {}
|
||||||
|
|
||||||
local function CurrentTime()
|
local function CurrentTime()
|
||||||
return os.date("%H:%M:%S")
|
return os.date("%H:%M:%S")
|
||||||
end
|
end
|
||||||
|
|
||||||
local function Text(text)
|
|
||||||
return function()
|
|
||||||
return text
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
local theme = require('plugins.config.lualine.nord_theme')
|
local theme = require('plugins.config.lualine.nord_theme')
|
||||||
|
|
||||||
|
|
||||||
local opts = {
|
local opts = {
|
||||||
options = {
|
options = {
|
||||||
theme = theme.spec,
|
theme = theme.spec,
|
||||||
@@ -33,7 +27,13 @@ local opts = {
|
|||||||
active = { fg = theme.colors.nord8 },
|
active = { fg = theme.colors.nord8 },
|
||||||
}
|
}
|
||||||
}, 'filename', 'branch', 'diff' },
|
}, 'filename', 'branch', 'diff' },
|
||||||
lualine_c = {},
|
lualine_c = {
|
||||||
|
{
|
||||||
|
require('tmux-status').tmux_windows,
|
||||||
|
cond = require('tmux-status').show,
|
||||||
|
padding = { left = 3 },
|
||||||
|
},
|
||||||
|
},
|
||||||
lualine_x = {},
|
lualine_x = {},
|
||||||
lualine_y = { 'filetype', { 'diagnostics', always_visible = true }, 'progress' },
|
lualine_y = { 'filetype', { 'diagnostics', always_visible = true }, 'progress' },
|
||||||
lualine_z = {
|
lualine_z = {
|
||||||
@@ -59,4 +59,11 @@ local opts = {
|
|||||||
extensions = {},
|
extensions = {},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
M.setup = function()
|
||||||
require('lualine').setup(opts)
|
require('lualine').setup(opts)
|
||||||
|
end
|
||||||
|
|
||||||
|
M.setup()
|
||||||
|
|
||||||
|
return M
|
||||||
|
|||||||
@@ -3,9 +3,20 @@ return {
|
|||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
config = function()
|
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,
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
require("plugins.spec.theme")
|
require("plugins.spec.theme"),
|
||||||
|
|
||||||
|
{
|
||||||
|
"christopher-francisco/tmux-status.nvim",
|
||||||
|
lazy = true,
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,26 +2,29 @@ return {
|
|||||||
{
|
{
|
||||||
'catppuccin/nvim',
|
'catppuccin/nvim',
|
||||||
as = 'catppuccin',
|
as = 'catppuccin',
|
||||||
|
enabled = false,
|
||||||
config = function()
|
config = function()
|
||||||
require("catppuccin").setup {
|
require("catppuccin").setup {
|
||||||
flavour = "mocha",
|
flavour = "mocha",
|
||||||
transparent_background = true
|
transparent_background = true
|
||||||
}
|
}
|
||||||
-- vim.cmd [[ colorscheme catppuccin ]]
|
vim.cmd [[ colorscheme catppuccin ]]
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'EdenEast/nightfox.nvim',
|
'EdenEast/nightfox.nvim',
|
||||||
|
enabled = false,
|
||||||
config = function()
|
config = function()
|
||||||
require('nightfox').setup {
|
require('nightfox').setup {
|
||||||
options = { transparent = true }
|
options = { transparent = true }
|
||||||
}
|
}
|
||||||
|
|
||||||
-- vim.cmd [[ colorscheme nightfox ]]
|
vim.cmd [[ colorscheme nightfox ]]
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'navarasu/onedark.nvim',
|
'navarasu/onedark.nvim',
|
||||||
|
enabled = false,
|
||||||
config = function()
|
config = function()
|
||||||
require('onedark').setup {
|
require('onedark').setup {
|
||||||
transparent = true,
|
transparent = true,
|
||||||
@@ -30,14 +33,29 @@ return {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- vim.cmd [[ colorscheme onedark ]]
|
vim.cmd [[ colorscheme onedark ]]
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'shaunsingh/nord.nvim',
|
'shaunsingh/nord.nvim',
|
||||||
|
enabled = false,
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.nord_disable_background = true
|
vim.g.nord_disable_background = true
|
||||||
vim.cmd [[colorscheme nord]]
|
vim.cmd [[colorscheme nord]]
|
||||||
end
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
|
gtk-key-theme = "Default";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ in
|
|||||||
bind C-o display-popup -E "tms"
|
bind C-o display-popup -E "tms"
|
||||||
set-option -g mode-keys vi
|
set-option -g mode-keys vi
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
set -g status on
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.tmux.plugins = [
|
programs.tmux.plugins = [
|
||||||
@@ -47,8 +48,7 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"tms/config.toml".source =
|
"tms/config.toml".source = ./tms/config.toml;
|
||||||
./tms/config.toml;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user