diff --git a/init.lua b/init.lua index 3cb05a91..1338b2b3 100644 --- a/init.lua +++ b/init.lua @@ -11,15 +11,15 @@ vim.opt.guicursor = '' vim.cmd 'colorscheme quiet' vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' }) --- Deep Dark Blue background with White text -vim.api.nvim_set_hl(0, 'NormalFloat', { bg = '#001f3f', fg = '#ffffff' }) +-- Background with White text +vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none', fg = '#ffffff' }) -- Border to match the dark blue background with white edges vim.api.nvim_set_hl(0, 'FloatBorder', { bg = '#001f3f', fg = '#ffffff' }) -- Optional: Fix the autocomplete menu colors to match -vim.api.nvim_set_hl(0, 'Pmenu', { bg = '#001f3f', fg = '#ffffff' }) -vim.api.nvim_set_hl(0, 'PmenuSel', { bg = '#ffffff', fg = '#001f3f' }) -- White highlight with Blue text +-- vim.api.nvim_set_hl(0, 'Pmenu', { bg = '#001f3f', fg = '#ffffff' }) +-- vim.api.nvim_set_hl(0, 'PmenuSel', { bg = '#ffffff', fg = '#001f3f' }) -- White highlight with Blue text -- Set to true if you have a Nerd Font installed and selected in the terminal vim.g.have_nerd_font = true @@ -921,4 +921,4 @@ require('lazy').setup({ }) -- The line beneath this is called `modeline`. See `:help modeline` --- vim: ts=2 sts=2 sw=2 et +-- vim: ts=2 sts=2 001f3fsw=2 et diff --git a/lazy-lock.json b/lazy-lock.json index 0a7a5579..0b5cd0b8 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -3,6 +3,7 @@ "blink.cmp": { "branch": "main", "commit": "539053d87740e357a96fb304c9a4da2ef27b3576" }, "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" }, "fidget.nvim": { "branch": "main", "commit": "7fa433a83118a70fe24c1ce88d5f0bd3453c0970" }, + "flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" }, "gitsigns.nvim": { "branch": "main", "commit": "7c4faa3540d0781a28588cafbd4dd187a28ac6e3" }, "guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" }, "hardtime.nvim": { "branch": "main", "commit": "b4e431934af1fe224a3a801f632c008278cb7628" }, diff --git a/lua/custom/plugins/flash.lua b/lua/custom/plugins/flash.lua new file mode 100644 index 00000000..69b1e96a --- /dev/null +++ b/lua/custom/plugins/flash.lua @@ -0,0 +1,13 @@ +return { + 'folke/flash.nvim', + event = 'VeryLazy', + ---@type Flash.Config + opts = {}, + keys = { + { 's', mode = { 'n', 'x', 'o' }, function() require('flash').jump() end, desc = 'Flash' }, + { 'S', mode = { 'n', 'x', 'o' }, function() require('flash').treesitter() end, desc = 'Flash Treesitter' }, + { 'r', mode = 'o', function() require('flash').remote() end, desc = 'Remote Flash' }, + { 'R', mode = { 'o', 'x' }, function() require('flash').treesitter_search() end, desc = 'Treesitter Search' }, + { '', mode = { 'c' }, function() require('flash').toggle() end, desc = 'Toggle Flash Search' }, + }, +}