1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-19 09:23:44 +08:00
SpaceVim/bundle/nvim-plug/test/init.lua
2025-02-06 00:15:38 +08:00

36 lines
808 B
Lua
Vendored

--=============================================================================
-- init.lua
-- Copyright 2025 Eric Wong
-- Author: Eric Wong < wsdjeg@outlook.com >
-- License: GPLv3
--=============================================================================
vim.opt.runtimepath:append('.')
vim.opt.runtimepath:append('~/.SpaceVim')
require('plug').setup({
bundle_dir = 'D:/bundle_dir',
ui = 'default',
})
require('plug').add({
{
'wsdjeg/scrollbar.vim',
events = { 'VimEnter' },
config = function() end,
},
{
'wsdjeg/flygrep.nvim',
cmds = { 'FlyGrep' },
config = function()
require('flygrep').setup()
end,
},
{
'rhysd/clever-f.vim',
on_map = { '<Plug>(clever-f' },
},
})
vim.cmd('nmap f <Plug>(clever-f-f)')