diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:56:53 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 02:56:53 +0200 |
| commit | 0f6cee92221dc517bd756083e260dd9373851b82 (patch) | |
| tree | c6d929fa5832d17a2d1fe3c85744bae7621ed447 /common/nvim/lua/plugins/fzf.lua | |
| parent | 3cf613ec7c90ab4933728b0f19e49b0c955c17bb (diff) | |
| download | dotfiles-0f6cee92221dc517bd756083e260dd9373851b82.tar.gz dotfiles-0f6cee92221dc517bd756083e260dd9373851b82.zip | |
Moved files to common/
Diffstat (limited to 'common/nvim/lua/plugins/fzf.lua')
| -rwxr-xr-x | common/nvim/lua/plugins/fzf.lua | 43 |
1 files changed, 0 insertions, 43 deletions
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", "<leader>fz", "<cmd>FzfLua files<cr>", { desc = "Fuzzy find files" }) -vim.keymap.set("n", "<leader>fzg", "<cmd>FzfLua live_grep<cr>", { desc = "Fuzzy grep files" }) -vim.keymap.set("n", "<leader>fzh", "<cmd>FzfLua helptags<cr>", { desc = "Fuzzy grep tags in help files" }) -vim.keymap.set("n", "<leader>fzt", "<cmd>FzfLua btags<cr>", { desc = "Fuzzy search buffer tags" }) -vim.keymap.set("n", "<leader>fzb", "<cmd>FzfLua buffers<cr>", { desc = "Fuzzy search opened buffers" }) - -return M |
