Neovim: started rework on the conifg, changed a bunch of stuff

This commit is contained in:
Kyren223
2024-07-06 20:07:41 +03:00
parent 7166c238e8
commit 39d1990952
49 changed files with 165 additions and 178 deletions

View File

@@ -1,16 +0,0 @@
return {
'ggandor/leap.nvim',
dependencies = { "tpope/vim-repeat" },
config = function()
vim.keymap.set({ 'n', 'x', 'o' }, 's', '<Plug>(leap-forward)')
vim.keymap.set({ 'n', 'x', 'o' }, 'S', '<Plug>(leap-backward)')
vim.keymap.set({ 'n', 'x', 'o' }, 'gs', '<Plug>(leap-from-window)')
-- Define equivalence classes for brackets and quotes, in addition to
-- the default whitespace group.
require('leap').opts.equivalence_classes = { ' \t\r\n', '([{', ')]}', '\'"`' }
-- Set background to gray in searchable area
vim.api.nvim_set_hl(0, 'LeapBackdrop', { fg = '#777777' })
end,
}