Replace telescope with fzf-lua
This commit is contained in:
parent
db31b0b08f
commit
0fc3c8f504
6
.config/nvim/lua/plugins/fzf-lua.lua
Normal file
6
.config/nvim/lua/plugins/fzf-lua.lua
Normal file
@ -0,0 +1,6 @@
|
||||
return {
|
||||
"ibhagwan/fzf-lua",
|
||||
keys = {
|
||||
{ "<c-p>", LazyVim.pick("files"), desc = "Find Files (Root Dir)", remap = true },
|
||||
},
|
||||
}
|
@ -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)" },
|
||||
},
|
||||
}
|
@ -108,6 +108,14 @@ function install_files() {
|
||||
done
|
||||
}
|
||||
|
||||
function remove_files() {
|
||||
for file in $(cat remove.txt); do
|
||||
echo "Removing $file"
|
||||
|
||||
rm -f "$HOME/$file"
|
||||
done
|
||||
}
|
||||
|
||||
is_sudo
|
||||
detect_os
|
||||
detect_package_manager
|
||||
@ -115,3 +123,4 @@ install_git
|
||||
install_oh_my_zsh
|
||||
install_mise
|
||||
install_files
|
||||
remove_files
|
||||
|
@ -6,9 +6,9 @@
|
||||
.config/nvim/lua/config/lazy.lua
|
||||
.config/nvim/lua/config/options.lua
|
||||
.config/nvim/lua/plugins/apex.lua
|
||||
.config/nvim/lua/plugins/fzf-lua.lua
|
||||
.config/nvim/lua/plugins/gruvbox.lua
|
||||
.config/nvim/lua/plugins/neo-tree.lua
|
||||
.config/nvim/lua/plugins/telescope.lua
|
||||
.config/nvim/stylua.toml
|
||||
.emacs.d/init.el
|
||||
.emacs.d/themes/solarized/LICENSE
|
||||
|
1
remove.txt
Normal file
1
remove.txt
Normal file
@ -0,0 +1 @@
|
||||
.config/nvim/lua/plugins/telescope.lua
|
Loading…
Reference in New Issue
Block a user