kitty scrollback and better firenvim
This commit is contained in:
parent
f13aabd880
commit
f224c46a1d
|
@ -5,7 +5,7 @@ local M = {}
|
|||
local highlights = require "custom.highlights"
|
||||
|
||||
M.ui = {
|
||||
theme = "chadracula",
|
||||
theme = "kanagawa",
|
||||
theme_toggle = { "kanagawa", "chadracula" },
|
||||
|
||||
hl_override = highlights.override,
|
||||
|
|
|
@ -67,7 +67,7 @@ opt.foldlevel = 10000 -- start with all folds open
|
|||
-- Editor UI
|
||||
-- ===
|
||||
|
||||
vim.o.guifont = "FiraCode Nerd Font:h15"
|
||||
vim.o.guifont = "FiraCode Nerd Font:h27"
|
||||
opt.termguicolors = true
|
||||
opt.shortmess = "xsTOInfFitloCaAs"
|
||||
opt.showmode = true -- Show mode in cmd window
|
||||
|
@ -83,6 +83,7 @@ opt.laststatus = 3 -- Always show laststatus
|
|||
if vim.g.started_by_firenvim == true then
|
||||
opt.showtabline = 1 -- Don't show tabline in firenvim, unless multitab
|
||||
opt.laststatus = 1 -- Don't show laststatus in firenvim
|
||||
opt.wrap = true
|
||||
end
|
||||
|
||||
opt.helpheight = 0 -- Disable help window resizing
|
||||
|
|
|
@ -461,7 +461,7 @@ local plugins = {
|
|||
[".*"] = {
|
||||
filename = "/tmp/{hostname}_{pathname%10}.{extension%5}",
|
||||
cmdline = "firenvim",
|
||||
takeover = "never", -- activate manually (<C-e>)
|
||||
takeover = "never", -- can't open it with never at all?
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -674,6 +674,26 @@ local plugins = {
|
|||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"mikesmithgh/kitty-scrollback.nvim",
|
||||
enabled = true,
|
||||
lazy = true,
|
||||
cmd = { "KittyScrollbackGenerateKittens", "KittyScrollbackCheckHealth" },
|
||||
event = { "User KittyScrollbackLaunch" },
|
||||
-- version = '*', -- latest stable version, may have breaking changes if major version changed
|
||||
-- version = '^3.0.0', -- pin major version, include fixes and features that do not have breaking changes
|
||||
config = function()
|
||||
require("kitty-scrollback").setup {
|
||||
myconfig = function()
|
||||
return { keymaps_enabled = false }
|
||||
end,
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
enabled = not vim.g.started_by_firenvim,
|
||||
},
|
||||
}
|
||||
|
||||
return plugins
|
||||
|
|
Loading…
Reference in New Issue