From a2f214a263f5075a9390d40cc1fd1dc1d74cfb3c Mon Sep 17 00:00:00 2001 From: Joel Palmer Date: Thu, 2 Dec 2021 14:03:43 -0600 Subject: [PATCH] telescope extension links --- README.md | 2 +- public dots/vim-nvim/lua/joel/plugins.lua | 20 +++++++++---------- .../vim-nvim/lua/joel/telescope/init.lua | 16 +++++++++------ 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 573ca3e..183a503 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ # Public version of Code Smell dotfiles ## Current Setup -_Last Updated: 01-Dec-2021 or more recently._ +_Last Updated: 02-Dec-2021 or more recently._ - [Neovim](https://neovim.io/) - _Important Note_: these Dotfiles target bleeding edge Neovim APIs. I try to update these runtime files as soon as the Neovim team pushes changes (including & especially breaking) to [their master branch](https://git.io/NeovimHEAD) and I pull the latest. - I usually pull the latest a few times per week or if I see that a particularly juicy PR has landed. I do test Neovim feature branches. But, only code that works with `Neovim → master` will be pushed to this repo. [Neovim 0.6.0](https://github.com/neovim/neovim/releases/tag/v0.6.0) should work with most of what you see here. - However, a lot of API changes are coming out of Neovim on the 0.6 track (master). So, I'd recommend using [Neovim Nightly](https://github.com/neovim/neovim/releases/tag/nightly) to use all the goodness in these Dotfiles. Or, [building from source](https://github.com/neovim/neovim#install-from-source) - [Code Smell video instructions](https://youtu.be/wep2_b_QU7Q). It's unlikely that I am more than a day or 2 behind. diff --git a/public dots/vim-nvim/lua/joel/plugins.lua b/public dots/vim-nvim/lua/joel/plugins.lua index 68e352c..f1e53b9 100644 --- a/public dots/vim-nvim/lua/joel/plugins.lua +++ b/public dots/vim-nvim/lua/joel/plugins.lua @@ -12,13 +12,6 @@ return require("packer").startup { use "antoinemadec/FixCursorHold.nvim" use "ellisonleao/glow.nvim" use "mogelbrod/vim-jsonpath" - use "dhruvmanila/telescope-bookmarks.nvim" - use { - "AckslD/nvim-neoclip.lua", - config = function() - require("neoclip").setup() - end, - } use { "luukvbaal/stabilize.nvim", config = function() @@ -49,12 +42,20 @@ return require("packer").startup { use "rust-lang/rust.vim" use "wbthomason/packer.nvim" use "neovim/nvim-lspconfig" - -- Telescope plugins + -- Telescope Plugins -- using local telescope branch, see below -- use 'nvim-telescope/telescope.nvim' -- using local telescope-github branch -- use "nvim-telescope/telescope-github.nvim" + use "cljoly/telescope-repo.nvim" + use "dhruvmanila/telescope-bookmarks.nvim" + use { + "AckslD/nvim-neoclip.lua", + config = function() + require("neoclip").setup() + end, + } use { "nvim-telescope/telescope-fzf-native.nvim", run = "make" } use "jvgrootveld/telescope-zoxide" use "andymass/vim-matchup" @@ -120,9 +121,6 @@ return require("packer").startup { requires = { "nvim-lua/plenary.nvim" }, } - -- load repos - use "cljoly/telescope-repo.nvim" - -- Local plugins use "~/vim-dev/plugins/codesmell_dark.vim" use "~/vim-dev/plugins/telescope.nvim" diff --git a/public dots/vim-nvim/lua/joel/telescope/init.lua b/public dots/vim-nvim/lua/joel/telescope/init.lua index 8198b9d..98cd55b 100644 --- a/public dots/vim-nvim/lua/joel/telescope/init.lua +++ b/public dots/vim-nvim/lua/joel/telescope/init.lua @@ -1,4 +1,4 @@ --- Telescope 🔭- setup and customized pickers +-- Telescope 🔭 - setup and customized pickers require "joel.telescope.mappings" local actions = require "telescope.actions" local action_state = require "telescope.actions.state" @@ -118,23 +118,27 @@ require("telescope").setup { }, } --- extensions -- +-- 🔭 Extensions -- -- https://github.com/nvim-telescope/telescope-fzf-native.nvim#telescope-fzf-nativenvim require("telescope").load_extension "fzf" -- https://github.com/dhruvmanila/telescope-bookmarks.nvim +-- b require("telescope").load_extension "bookmarks" --- require zoxide for telescope +-- https://github.com/jvgrootveld/telescope-zoxide +-- z require("telescope").load_extension "zoxide" --- telescope-repo +-- https://github.com/cljoly/telescope-repo.nvim +-- rl require("telescope").load_extension "repo" --- neoclip +-- https://github.com/AckslD/nvim-neoclip.lua +-- require("telescope").load_extension "neoclip" --- GitHub CLI +-- GitHub CLI → local version require("telescope").load_extension "gh" -- my telescopic customizations