merged tmux and neovim line. wip though
This commit is contained in:
@@ -28,11 +28,6 @@ local opts = {
|
|||||||
}
|
}
|
||||||
}, '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' },
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ M.colors = {
|
|||||||
|
|
||||||
M.spec = {
|
M.spec = {
|
||||||
normal = {
|
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 },
|
b = { fg = M.colors.nord5, bg = M.colors.nord1 },
|
||||||
c = { fg = M.colors.transparent, bg = M.colors.transparent },
|
c = { fg = M.colors.transparent, bg = M.colors.transparent },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,15 +8,12 @@ return {
|
|||||||
-- loading lualine delayed again because of transparency issues
|
-- loading lualine delayed again because of transparency issues
|
||||||
vim.defer_fn(function()
|
vim.defer_fn(function()
|
||||||
lualineConfig.setup()
|
lualineConfig.setup()
|
||||||
|
if os.getenv("TMUX") then
|
||||||
|
vim.o.laststatus = 2
|
||||||
|
end
|
||||||
end, 100)
|
end, 100)
|
||||||
end,
|
end,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
require("plugins.spec.theme"),
|
require("plugins.spec.theme"),
|
||||||
|
|
||||||
{
|
|
||||||
"christopher-francisco/tmux-status.nvim",
|
|
||||||
lazy = true,
|
|
||||||
opts = {},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,39 +1,39 @@
|
|||||||
return {
|
return {
|
||||||
'folke/noice.nvim',
|
'folke/noice.nvim',
|
||||||
event = "UIEnter",
|
event = "UIEnter",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
opts = {
|
opts = {
|
||||||
messages = {
|
messages = {
|
||||||
enabled = false,
|
enabled = false,
|
||||||
view = "mini",
|
view = "mini",
|
||||||
view_warn = "mini",
|
view_warn = "mini",
|
||||||
view_error = "mini"
|
view_error = "mini"
|
||||||
},
|
},
|
||||||
lsp = {
|
lsp = {
|
||||||
-- override makdown rendering so that **cmp** and other plugins use **Treesitter**
|
-- override makdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||||
override = {
|
override = {
|
||||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
["vim.lsp.util.stylize_markdown"] = true,
|
["vim.lsp.util.stylize_markdown"] = true,
|
||||||
["cmp.entry.get_documentation"] = true,
|
["cmp.entry.get_documentation"] = true,
|
||||||
},
|
},
|
||||||
hover = {
|
hover = {
|
||||||
enabled = false,
|
enabled = false,
|
||||||
},
|
},
|
||||||
signature = {
|
signature = {
|
||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
-- you can enable a preset for easier configuration
|
-- you can enable a preset for easier configuration
|
||||||
presets = {
|
presets = {
|
||||||
bottom_search = true, -- use a classic bottom cmdline for search
|
bottom_search = false, -- use a classic bottom cmdline for search
|
||||||
command_palette = true, -- position the cmdline and popupmenu together
|
command_palette = true, -- position the cmdline and popupmenu together
|
||||||
long_message_to_split = true, -- long messages will be sent to a split
|
long_message_to_split = true, -- long messages will be sent to a split
|
||||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'MunifTanjim/nui.nvim',
|
'MunifTanjim/nui.nvim',
|
||||||
require("plugins.spec.notify")
|
require("plugins.spec.notify")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
8
homemanager/neovim/lua/plugins/spec/vimtpipeline.lua
Normal file
8
homemanager/neovim/lua/plugins/spec/vimtpipeline.lua
Normal 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
|
||||||
|
}
|
||||||
@@ -26,10 +26,17 @@ in
|
|||||||
set-option -g mode-keys vi
|
set-option -g mode-keys vi
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
set -g status 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 = [
|
programs.tmux.plugins = [
|
||||||
pkgs.tmuxPlugins.nord
|
|
||||||
{
|
{
|
||||||
plugin = pkgs.tmuxPlugins.resurrect;
|
plugin = pkgs.tmuxPlugins.resurrect;
|
||||||
extraConfig = "set -g @resurrect-strategy-nvim 'session'";
|
extraConfig = "set -g @resurrect-strategy-nvim 'session'";
|
||||||
|
|||||||
Reference in New Issue
Block a user