diff --git a/.config/nvim/lua/plugins/fzf-lua.lua b/.config/nvim/lua/plugins/fzf-lua.lua new file mode 100644 index 0000000..409b337 --- /dev/null +++ b/.config/nvim/lua/plugins/fzf-lua.lua @@ -0,0 +1,6 @@ +return { + "ibhagwan/fzf-lua", + keys = { + { "", LazyVim.pick("files"), desc = "Find Files (Root Dir)", remap = true }, + }, +} diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua deleted file mode 100644 index 096693f..0000000 --- a/.config/nvim/lua/plugins/telescope.lua +++ /dev/null @@ -1,8 +0,0 @@ -local Telescope = require("telescope.builtin") - -return { - "nvim-telescope/telescope.nvim", - keys = { - { "", Telescope.find_files, desc = "Find Files (root dir)" }, - }, -} diff --git a/install.sh b/install.sh index 7c299a5..3a427a6 100755 --- a/install.sh +++ b/install.sh @@ -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 diff --git a/install.txt b/install.txt index 899945c..c9cec8a 100644 --- a/install.txt +++ b/install.txt @@ -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 diff --git a/remove.txt b/remove.txt new file mode 100644 index 0000000..37d0be0 --- /dev/null +++ b/remove.txt @@ -0,0 +1 @@ +.config/nvim/lua/plugins/telescope.lua