[[plugins]] repo = 'junegunn/fzf' lazy = true merged = false build = 'go install' [[plugins]] repo = 'junegunn/fzf.vim' depends = 'fzf' on_func = 'fzf#' on_cmd = ['FzfPlugins', 'FzfMrw', 'GhqFind'] hook_add = ''' let g:fzf_command_prefix = 'Fzf' call add(g:AlterCommands, #{ char: 'fp', input: 'FzfPlugins' }) nmap fz FzfMrw call add(g:AlterCommands, #{ char: 'fq', input: 'GhqFind' }) ''' hooks_file = '$DEIN_CONFIG_DIR/fzf.vim.lua' [[plugins]] repo = 'yuki-yano/fzf-preview.vim' if = "executable('node')" depends = ['fzf.vim', 'coc.nvim'] on_cmd = [ 'FzfPreviewGitActions', 'FzfPreviewMruFiles', 'FzfPreviewProjectMruFiles', 'FzfPreviewProjectFiles', ] hook_add = ''' nmap af FzfPreviewGitActions ''' [[plugins]] repo = 'ibhagwan/fzf-lua' if = "executable('fzf')" depends = ['nvim-web-devicons', 'nvim-treesitter'] on_lua = 'fzf-lua' on_cmd = 'FzfLua' lua_add = ''' vim.keymap.set('n', '(ff-files)', 'FzfLua files') vim.keymap.set('n', '(ff-config_files)', function() require('fzf-lua').files { cwd = ('%s/chezmoi'):format(vim.env.XDG_DATA_HOME) } end) vim.keymap.set('n', '(ff-grep)', 'FzfLua grep') vim.keymap.set('n', '(ff-help_tags)', 'FzfLua help_tags') vim.keymap.set('n', '(ff-buffers)', 'FzfLua buffers') vim.keymap.set('n', '(ff-buffers)', 'FzfLua buffers') vim.keymap.set('n', '(ff-lines)', 'FzfLua blines') vim.keymap.set('n', '(ff-resume)', 'FzfLua resume') vim.keymap.set('n', '(ff-lsp_references)', 'FzfLua lsp_references') vim.keymap.set('n', '(ff-lsp_implementations)', 'FzfLua lsp_implementations') ''' hooks_file = '$DEIN_CONFIG_DIR/fzf-lua.lua'