From 335fe93d8aee9f4de5d79f4b93f35dcb92ffed96 Mon Sep 17 00:00:00 2001 From: rootiest Date: Sun, 4 Aug 2024 04:00:45 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(fzf)!:=20switch=20to=20fzf-lua?= =?UTF-8?q?=20instead=20of=20telescope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the picker provider to fzf-lua and remove telescope plugin BREAKING CHANGE: Telescope is removed. Fzf-lua provides equivalent functionality. However, the remote-nvim plugin depended on Telescope so it has also been removed. --- lua/plugins/dashboard.lua | 18 ++++-------------- lua/plugins/editor.lua | 15 ++++----------- 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/lua/plugins/dashboard.lua b/lua/plugins/dashboard.lua index fc95c06..cbb26a0 100644 --- a/lua/plugins/dashboard.lua +++ b/lua/plugins/dashboard.lua @@ -5,6 +5,7 @@ return { -- Dashboard "nvimdev/dashboard-nvim", + event = "UIEnter", opts = function() local logo_path = vim.fn.stdpath("config") .. "/logo/" local height, width = vim.fn.winheight(0), vim.fn.winwidth(0) @@ -61,7 +62,7 @@ return { action = "LazyGit", desc = " LazyGit", icon = " ", - key = "G", + key = "z", }, { action = "lua LazyVim.pick.config_files()()", @@ -75,18 +76,6 @@ return { icon = " ", key = "s", }, - { - action = "LoadRemote", - desc = " Remote Session", - icon = "󰢹 ", - key = "S", - }, - { - action = "LazyExtras", - desc = " Lazy Extras", - icon = " ", - key = "x", - }, { action = "Lazy", desc = " Lazy", @@ -106,7 +95,8 @@ return { local stats = require("lazy").stats() local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100) return { - "⚡ Neovim loaded " + -- "⚡ Neovim loaded " + "󱐋 Neovim loaded " .. stats.loaded .. "/" .. stats.count diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index e10c4a8..02646b2 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -15,9 +15,13 @@ return { { -- Dial import = "lazyvim.plugins.extras.editor.dial", }, + { -- Fzf + import = "lazyvim.plugins.extras.editor.fzf", + }, { -- Illuminate import = "lazyvim.plugins.extras.editor.illuminate", }, + { "akinsho/bufferline.nvim", opts = { @@ -106,17 +110,6 @@ return { event = "BufReadPre", opts = {}, }, - { -- Remote-nvim - "amitds1997/remote-nvim.nvim", - lazy = true, - version = "*", -- Pin to GitHub releases - dependencies = { - "nvim-lua/plenary.nvim", -- For standard functions - "MunifTanjim/nui.nvim", -- To build the plugin UI - "nvim-telescope/telescope.nvim", -- For picking b/w different remote methods - }, - config = true, - }, { -- DeadColumn "Bekaboo/deadcolumn.nvim", event = "BufEnter",