From f224c46a1da9cd052af9f32eb11d4ffde9ea2411 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 21 Jan 2024 01:41:07 +0100 Subject: [PATCH] kitty scrollback and better firenvim --- lua/custom/chadrc.lua | 2 +- lua/custom/init.lua | 3 ++- lua/custom/plugins.lua | 22 +++++++++++++++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/lua/custom/chadrc.lua b/lua/custom/chadrc.lua index 73175d9..074bd3e 100644 --- a/lua/custom/chadrc.lua +++ b/lua/custom/chadrc.lua @@ -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, diff --git a/lua/custom/init.lua b/lua/custom/init.lua index 75bd82e..86b6e81 100644 --- a/lua/custom/init.lua +++ b/lua/custom/init.lua @@ -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 diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index 2b8222f..b216061 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -461,7 +461,7 @@ local plugins = { [".*"] = { filename = "/tmp/{hostname}_{pathname%10}.{extension%5}", cmdline = "firenvim", - takeover = "never", -- activate manually () + 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