From 08ec2a4579434744f0f68093162bde79538ec336 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sat, 29 Mar 2025 00:20:01 +0100 Subject: [PATCH] removed fzf lua --- lua/plugins/fzf-lua.lua | 127 ---------------------------------------- 1 file changed, 127 deletions(-) delete mode 100644 lua/plugins/fzf-lua.lua diff --git a/lua/plugins/fzf-lua.lua b/lua/plugins/fzf-lua.lua deleted file mode 100644 index 7f093ff..0000000 --- a/lua/plugins/fzf-lua.lua +++ /dev/null @@ -1,127 +0,0 @@ -return { - 'ibhagwan/fzf-lua', - dependencies = { 'nvim-tree/nvim-web-devicons' }, - version = false, - config = function() - local actions = require('fzf-lua.actions') - require('fzf-lua').setup({ - 'borderless_full', - actions = { - files = { - ['default'] = actions.file_edit_or_qf, - ['ctrl-s'] = actions.file_split, - ['ctrl-v'] = actions.file_vsplit, - ['ctrl-t'] = actions.file_tabedit, - ['alt-q'] = actions.file_sel_to_qf, - ['alt-l'] = actions.file_sel_to_ll, - ['ctrl-x'] = actions.file_split, - }, - buffers = { - ['default'] = actions.buf_edit, - ['ctrl-s'] = actions.buf_split, - ['ctrl-v'] = actions.buf_vsplit, - ['ctrl-t'] = actions.buf_tabedit, - ['ctrl-x'] = actions.buf_split, - }, - }, - }) - end, - cmd = 'FzfLua', - keys = { - { - 'f', - function() - require('fzf-lua').files() - end, - desc = 'Find files', - }, - { - 'c', - function() - require('fzf-lua').commands() - end, - desc = 'Find commands', - }, - { - 'g', - function() - require('fzf-lua').git_files() - end, - desc = 'Find git files', - }, - { - 'o', - function() - require('fzf-lua').oldfiles() - end, - desc = 'Find old files', - }, - { - 'i', - function() - require('fzf-lua').oldfiles({ cwd_only = true }) - end, - desc = 'Find old files in cwd', - }, - { - 'b', - function() - require('fzf-lua').buffers() - end, - desc = 'Select buffer', - }, - { - 'q', - function() - require('fzf-lua').quickfix() - end, - desc = 'Quickfix list', - }, - { - 'l', - function() - require('fzf-lua').live_grep_native() - end, - desc = 'Search in project', - }, - { - 'd', - function() - require('fzf-lua').grep_cword() - end, - mode = { 'n' }, - desc = 'Find word under cursor', - }, - { - 'd', - function() - require('fzf-lua').grep_visual() - end, - mode = { 'x', 'v' }, - desc = 'Find word under cursor', - }, - { - 'j', - function() - require('fzf-lua').jumps() - end, - desc = 'Open jumplist', - }, - { - '', - function() - require('fzf-lua').grep_curbuf() - end, - desc = 'Find in buffer', - }, - { - '', - function() - require('fzf-lua').complete_path() - end, - mode = { 'n', 'v', 'i' }, - desc = 'Fuzzy complete path', - }, - }, - enabled = false -}