mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-21 03:04:31 +02:00
don't lazyload telescope (breaks c-j c-k navigation)
This commit is contained in:
parent
93379a2977
commit
d9ee4e00e9
2 changed files with 4 additions and 8 deletions
|
@ -43,33 +43,30 @@ O.plugin.telescope = {
|
||||||
qflist_previewer = require("telescope.previewers").vim_buffer_qflist.new,
|
qflist_previewer = require("telescope.previewers").vim_buffer_qflist.new,
|
||||||
|
|
||||||
-- Developer configurations: Not meant for general override
|
-- Developer configurations: Not meant for general override
|
||||||
buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
|
-- buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker,
|
||||||
mappings = {
|
mappings = {
|
||||||
i = {
|
i = {
|
||||||
["<C-c>"] = actions.close,
|
["<C-c>"] = actions.close,
|
||||||
["<C-j>"] = actions.move_selection_next,
|
["<C-j>"] = actions.move_selection_next,
|
||||||
["<C-k>"] = actions.move_selection_previous,
|
["<C-k>"] = actions.move_selection_previous,
|
||||||
-- ["<c-t>"] = trouble.open_with_trouble,
|
|
||||||
["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
|
["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
|
||||||
|
["<CR>"] = actions.select_default + actions.center,
|
||||||
-- To disable a keymap, put [map] = false
|
-- To disable a keymap, put [map] = false
|
||||||
-- So, to not map "<C-n>", just put
|
-- So, to not map "<C-n>", just put
|
||||||
|
-- ["<c-t>"] = trouble.open_with_trouble,
|
||||||
-- ["<c-x>"] = false,
|
-- ["<c-x>"] = false,
|
||||||
-- ["<esc>"] = actions.close,
|
-- ["<esc>"] = actions.close,
|
||||||
|
|
||||||
-- Otherwise, just set the mapping to the function that you want it to be.
|
-- Otherwise, just set the mapping to the function that you want it to be.
|
||||||
-- ["<C-i>"] = actions.select_horizontal,
|
-- ["<C-i>"] = actions.select_horizontal,
|
||||||
|
|
||||||
-- Add up multiple actions
|
-- Add up multiple actions
|
||||||
["<CR>"] = actions.select_default + actions.center,
|
|
||||||
|
|
||||||
-- You can perform as many actions in a row as you like
|
-- You can perform as many actions in a row as you like
|
||||||
-- ["<CR>"] = actions.select_default + actions.center + my_cool_custom_action,
|
-- ["<CR>"] = actions.select_default + actions.center + my_cool_custom_action,
|
||||||
},
|
},
|
||||||
n = {
|
n = {
|
||||||
["<C-j>"] = actions.move_selection_next,
|
["<C-j>"] = actions.move_selection_next,
|
||||||
["<C-k>"] = actions.move_selection_previous,
|
["<C-k>"] = actions.move_selection_previous,
|
||||||
-- ["<c-t>"] = trouble.open_with_trouble,
|
|
||||||
["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
|
["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist,
|
||||||
|
-- ["<c-t>"] = trouble.open_with_trouble,
|
||||||
-- ["<C-i>"] = my_cool_custom_action,
|
-- ["<C-i>"] = my_cool_custom_action,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -45,7 +45,6 @@ return require("packer").startup(function(use)
|
||||||
use {
|
use {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
config = [[require('lv-telescope')]],
|
config = [[require('lv-telescope')]],
|
||||||
event = "BufWinEnter",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Autocomplete
|
-- Autocomplete
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue