merged tmux and neovim line. wip though

This commit is contained in:
2025-11-15 16:42:03 +01:00
parent 997dc98123
commit 9f55f21eef
6 changed files with 57 additions and 50 deletions

View File

@@ -28,11 +28,6 @@ local opts = {
}
}, 'filename', 'branch', 'diff' },
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' },

View File

@@ -13,7 +13,7 @@ M.colors = {
M.spec = {
normal = {
a = { fg = M.colors.transparent, bg = M.colors.nord8, gui = 'bold' },
a = { fg = M.colors.nord5, bg = M.colors.nord8 },
b = { fg = M.colors.nord5, bg = M.colors.nord1 },
c = { fg = M.colors.transparent, bg = M.colors.transparent },
},

View File

@@ -8,15 +8,12 @@ return {
-- loading lualine delayed again because of transparency issues
vim.defer_fn(function()
lualineConfig.setup()
if os.getenv("TMUX") then
vim.o.laststatus = 2
end
end, 100)
end,
dependencies = {
require("plugins.spec.theme"),
{
"christopher-francisco/tmux-status.nvim",
lazy = true,
opts = {},
},
}
}

View File

@@ -1,39 +1,39 @@
return {
'folke/noice.nvim',
event = "UIEnter",
enabled = true,
opts = {
messages = {
enabled = false,
view = "mini",
view_warn = "mini",
view_error = "mini"
},
lsp = {
-- override makdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
hover = {
enabled = false,
},
signature = {
enabled = false
}
},
-- you can enable a preset for easier configuration
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
},
dependencies = {
'MunifTanjim/nui.nvim',
require("plugins.spec.notify")
}
'folke/noice.nvim',
event = "UIEnter",
enabled = true,
opts = {
messages = {
enabled = false,
view = "mini",
view_warn = "mini",
view_error = "mini"
},
lsp = {
-- override makdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
hover = {
enabled = false,
},
signature = {
enabled = false
}
},
-- you can enable a preset for easier configuration
presets = {
bottom_search = false, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
},
dependencies = {
'MunifTanjim/nui.nvim',
require("plugins.spec.notify")
}
}

View File

@@ -0,0 +1,8 @@
return {
'vimpostor/vim-tpipeline',
config = function()
vim.g.tpipeline_autoembed = 1
vim.g.tpipeline_restore = 1
vim.g.tpipeline_clearstl = 1
end
}

View File

@@ -26,10 +26,17 @@ in
set-option -g mode-keys vi
set -g mouse on
set -g status on
set -g focus-events on
set -g status-style bg=default
set -g status-right '#(cat #{socket_path}-\#{session_id}-vimbridge-R)'
set -g status-left '#(cat #{socket_path}-\#{session_id}-vimbridge)'
set -g status-left-length 99
set -g status-right-length 99
set -g status-justify absolute-centre
'';
programs.tmux.plugins = [
pkgs.tmuxPlugins.nord
{
plugin = pkgs.tmuxPlugins.resurrect;
extraConfig = "set -g @resurrect-strategy-nvim 'session'";