Skip to content

Commit

Permalink
telescope extension links
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpalmer committed Dec 2, 2021
1 parent b6afe5a commit a2f214a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
20 changes: 9 additions & 11 deletions public dots/vim-nvim/lua/joel/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
16 changes: 10 additions & 6 deletions public dots/vim-nvim/lua/joel/telescope/init.lua
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
-- <space>b
require("telescope").load_extension "bookmarks"

-- require zoxide for telescope
-- https://github.com/jvgrootveld/telescope-zoxide
-- <leader>z
require("telescope").load_extension "zoxide"

-- telescope-repo
-- https://github.com/cljoly/telescope-repo.nvim
-- <leader>rl
require("telescope").load_extension "repo"

-- neoclip
-- https://github.com/AckslD/nvim-neoclip.lua
-- <C-n>
require("telescope").load_extension "neoclip"

-- GitHub CLI
-- GitHub CLI → local version
require("telescope").load_extension "gh"

-- my telescopic customizations
Expand Down

0 comments on commit a2f214a

Please sign in to comment.