Replace telescope with fzf-lua

This commit is contained in:
Kevin Cotugno 2024-12-18 06:28:50 -07:00
parent db31b0b08f
commit 0fc3c8f504
5 changed files with 17 additions and 9 deletions

View File

@ -0,0 +1,6 @@
return {
"ibhagwan/fzf-lua",
keys = {
{ "<c-p>", LazyVim.pick("files"), desc = "Find Files (Root Dir)", remap = true },
},
}

View File

@ -1,8 +0,0 @@
local Telescope = require("telescope.builtin")
return {
"nvim-telescope/telescope.nvim",
keys = {
{ "<c-p>", Telescope.find_files, desc = "Find Files (root dir)" },
},
}

View File

@ -108,6 +108,14 @@ function install_files() {
done done
} }
function remove_files() {
for file in $(cat remove.txt); do
echo "Removing $file"
rm -f "$HOME/$file"
done
}
is_sudo is_sudo
detect_os detect_os
detect_package_manager detect_package_manager
@ -115,3 +123,4 @@ install_git
install_oh_my_zsh install_oh_my_zsh
install_mise install_mise
install_files install_files
remove_files

View File

@ -6,9 +6,9 @@
.config/nvim/lua/config/lazy.lua .config/nvim/lua/config/lazy.lua
.config/nvim/lua/config/options.lua .config/nvim/lua/config/options.lua
.config/nvim/lua/plugins/apex.lua .config/nvim/lua/plugins/apex.lua
.config/nvim/lua/plugins/fzf-lua.lua
.config/nvim/lua/plugins/gruvbox.lua .config/nvim/lua/plugins/gruvbox.lua
.config/nvim/lua/plugins/neo-tree.lua .config/nvim/lua/plugins/neo-tree.lua
.config/nvim/lua/plugins/telescope.lua
.config/nvim/stylua.toml .config/nvim/stylua.toml
.emacs.d/init.el .emacs.d/init.el
.emacs.d/themes/solarized/LICENSE .emacs.d/themes/solarized/LICENSE

1
remove.txt Normal file
View File

@ -0,0 +1 @@
.config/nvim/lua/plugins/telescope.lua