feat: folke the goat has deliveered flash plugin

This commit is contained in:
Delvin Yamoah 2026-03-15 01:16:57 +00:00
parent 6b5ca39755
commit a53ae05c21
3 changed files with 19 additions and 5 deletions

View File

@ -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

View File

@ -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" },

View File

@ -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' },
{ '<c-s>', mode = { 'c' }, function() require('flash').toggle() end, desc = 'Toggle Flash Search' },
},
}