minor-update
This commit is contained in:
parent
f7c229fcf6
commit
e17b1607bf
3 changed files with 7 additions and 12 deletions
|
|
@ -16,6 +16,9 @@ return {
|
|||
lazy = false,
|
||||
cmd = "Grapple",
|
||||
config = function()
|
||||
local telescope = require("telescope")
|
||||
telescope.load_extension("grapple")
|
||||
|
||||
-- Open graple window when open without arguments
|
||||
local g = vim.api.nvim_create_augroup('Grapple-User', { clear = true })
|
||||
|
||||
|
|
@ -34,7 +37,7 @@ return {
|
|||
and vim.api.nvim_buf_get_name(0) == ''
|
||||
and vim.g.read_from_stdin == nil
|
||||
then
|
||||
require("grapple").toggle_tags()
|
||||
telescope.extensions.grapple.tags()
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -22,8 +22,7 @@ return {
|
|||
defaults = {
|
||||
prompt_prefix = " ",
|
||||
selection_caret = " ",
|
||||
layout_strategy = "vertical",
|
||||
layout_config = { vertical = { height = 0.99, mirror = true, prompt_position = "top" } },
|
||||
layout_strategy = "flex",
|
||||
mappings = {
|
||||
i = {
|
||||
["<c-u>"] = actions.preview_scrolling_up,
|
||||
|
|
@ -37,6 +36,7 @@ return {
|
|||
["<M-q>"] = actions.send_selected_to_qflist + actions.open_qflist,
|
||||
["<c-t>"] = require("trouble.sources.telescope").open,
|
||||
["<a-t>"] = require("trouble.sources.telescope").open,
|
||||
["<M-h>"] = actions.which_key,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
@ -45,15 +45,7 @@ return {
|
|||
|
||||
-- Enable telescope fzf native, if installed
|
||||
pcall(telescope.load_extension, "fzf")
|
||||
pcall(telescope.load_extension, "aerial")
|
||||
|
||||
-- Find files
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>fe",
|
||||
":Telescope file_browser path=%:p:h select_buffer=true<CR>",
|
||||
{ desc = "File Explorer" }
|
||||
)
|
||||
vim.keymap.set("n", "<leader>fb", builtin.buffers, { desc = "Find buffers" })
|
||||
vim.keymap.set("n", "<leader>ff", builtin.find_files, { desc = "Find files" })
|
||||
vim.keymap.set("n", "<leader>fF", function()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
"nosduco/remote-sshfs.nvim",
|
||||
dependencies = { "nvim-telescope/telescope.nvim" },
|
||||
cmd = { "RemoteSSHFSConnec" },
|
||||
cmd = { "RemoteSSHFSConnect" },
|
||||
config = function()
|
||||
require("remote-sshfs").setup({})
|
||||
require("telescope").load_extension("remote-sshfs")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue