diff options
| author | Chris <[email protected]> | 2021-07-10 19:35:54 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-07-10 19:35:54 -0400 | 
| commit | d9ee4e00e9fd179c5d1624d6a0bcee12e5751f6f (patch) | |
| tree | c02fcd94d8f9161d88cf53ab435d8316e80ed5fd /lua | |
| parent | 93379a2977ba10695cc6d0aac3ca4ce9111fa31e (diff) | |
don't lazyload telescope (breaks c-j c-k navigation)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lv-telescope/config.lua | 11 | ||||
| -rw-r--r-- | lua/plugins.lua | 1 | 
2 files changed, 4 insertions, 8 deletions
| diff --git a/lua/lv-telescope/config.lua b/lua/lv-telescope/config.lua index 7bab2633..11e58527 100644 --- a/lua/lv-telescope/config.lua +++ b/lua/lv-telescope/config.lua @@ -43,33 +43,30 @@ O.plugin.telescope = {      qflist_previewer = require("telescope.previewers").vim_buffer_qflist.new,      -- 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 = {        i = {          ["<C-c>"] = actions.close,          ["<C-j>"] = actions.move_selection_next,          ["<C-k>"] = actions.move_selection_previous, -        -- ["<c-t>"] = trouble.open_with_trouble,          ["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist, +        ["<CR>"] = actions.select_default + actions.center,          -- To disable a keymap, put [map] = false          -- So, to not map "<C-n>", just put +        -- ["<c-t>"] = trouble.open_with_trouble,          -- ["<c-x>"] = false,          -- ["<esc>"] = actions.close, -          -- Otherwise, just set the mapping to the function that you want it to be.          -- ["<C-i>"] = actions.select_horizontal, -          -- Add up multiple actions -        ["<CR>"] = actions.select_default + actions.center, -          -- You can perform as many actions in a row as you like          -- ["<CR>"] = actions.select_default + actions.center + my_cool_custom_action,        },        n = {          ["<C-j>"] = actions.move_selection_next,          ["<C-k>"] = actions.move_selection_previous, -        -- ["<c-t>"] = trouble.open_with_trouble,          ["<C-q>"] = actions.smart_send_to_qflist + actions.open_qflist, +        -- ["<c-t>"] = trouble.open_with_trouble,          -- ["<C-i>"] = my_cool_custom_action,        },      }, diff --git a/lua/plugins.lua b/lua/plugins.lua index e7c5a133..26855107 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -45,7 +45,6 @@ return require("packer").startup(function(use)    use {      "nvim-telescope/telescope.nvim",      config = [[require('lv-telescope')]], -    event = "BufWinEnter",    }    -- Autocomplete | 
