From 0f6cee92221dc517bd756083e260dd9373851b82 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 24 Sep 2025 02:56:53 +0200 Subject: Moved files to common/ --- common/nvim/lua/plugins/fzf.lua | 43 ----------------------------------------- 1 file changed, 43 deletions(-) delete mode 100755 common/nvim/lua/plugins/fzf.lua (limited to 'common/nvim/lua/plugins/fzf.lua') diff --git a/common/nvim/lua/plugins/fzf.lua b/common/nvim/lua/plugins/fzf.lua deleted file mode 100755 index 9e62c48..0000000 --- a/common/nvim/lua/plugins/fzf.lua +++ /dev/null @@ -1,43 +0,0 @@ -local M = {} - -if not fzfLua then - return M -end - -local ok_fzfLua, actions = pcall(require, "fzf-lua") -if not ok_fzfLua then - return -end - -local ok_fzfLua, actions = pcall(require, "fzf-lua.actions") -if not ok_fzfLua then - return -end - - -local ok, fzfLua = pcall(require, "fzf-lua") -if not ok then - vim.notify("fzf-lua not found", vim.log.levels.WARN) - return M -end - -fzfLua.setup({ - defaults = { - file_icons = "mini", - }, - winopts = { - row = 0.5, - height = 0.7, - }, - files = { - previewer = false, - }, -}) - -vim.keymap.set("n", "fz", "FzfLua files", { desc = "Fuzzy find files" }) -vim.keymap.set("n", "fzg", "FzfLua live_grep", { desc = "Fuzzy grep files" }) -vim.keymap.set("n", "fzh", "FzfLua helptags", { desc = "Fuzzy grep tags in help files" }) -vim.keymap.set("n", "fzt", "FzfLua btags", { desc = "Fuzzy search buffer tags" }) -vim.keymap.set("n", "fzb", "FzfLua buffers", { desc = "Fuzzy search opened buffers" }) - -return M -- cgit v1.2.3