Skip to content

Commit

Permalink
properly working multi-select telescope really
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpalmer committed Dec 1, 2021
1 parent 9af035b commit b6afe5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 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: 30-Nov-2021 or more recently._
_Last Updated: 01-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
3 changes: 1 addition & 2 deletions public dots/vim-nvim/lua/joel/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ require("nvim-web-devicons").setup {
default = true,
}

-- search/replace visual b/c inccommand preview doesn't show all (PRs in flight on Neovim)
-- Search/Replace visual b/c inccommand preview doesn't show all (PRs in flight on Neovim)
-- tsserver - JavaScript lsp config
require("lspconfig").tsserver.setup {
on_attach = function(client)
require("lsp_signature").on_attach {
bind = true, -- This is mandatory, otherwise border config won't get registered.
-- If you want to hook lspsaga or other signature handler, pls set to false
doc_lines = 2, -- will show 2 lines of comment/doc(if there are more than 2 lines in doc, will be truncated)
-- set to 0 if you DO NOT want any API comments be shown
-- This setting only take effect in insert mode, it does not affect signature help in normal
Expand Down
8 changes: 4 additions & 4 deletions public dots/vim-nvim/lua/joel/telescope/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function custom_actions._multiopen(prompt_bufnr, open_cmd)
elseif open_cmd == "tabe" then
actions.file_tab(prompt_bufnr)
else
actions.file_edit(prompt_bufnr)
actions.select_default(prompt_bufnr)
end
end
end
Expand Down Expand Up @@ -128,15 +128,15 @@ require("telescope").load_extension "bookmarks"
-- require zoxide for telescope
require("telescope").load_extension "zoxide"

-- GitHub CLI
require("telescope").load_extension "gh"

-- telescope-repo
require("telescope").load_extension "repo"

-- neoclip
require("telescope").load_extension "neoclip"

-- GitHub CLI
require("telescope").load_extension "gh"

-- my telescopic customizations
local M = {}

Expand Down

0 comments on commit b6afe5a

Please sign in to comment.