nvim: telescope keys
This commit is contained in:
@@ -25,8 +25,31 @@ if ok then
|
||||
reverse_directories = true,
|
||||
},
|
||||
}
|
||||
defaults["mappings"] = {
|
||||
i = {
|
||||
["<C-k>"] = "move_selection_previous",
|
||||
["<C-j>"] = "move_selection_next",
|
||||
},
|
||||
n = {
|
||||
["<C-k>"] = "move_selection_previous",
|
||||
["<C-j>"] = "move_selection_next",
|
||||
["q"] = "close",
|
||||
},
|
||||
}
|
||||
require("telescope").setup({
|
||||
defaults = defaults,
|
||||
pickers = {
|
||||
diagnostics = {
|
||||
theme = "ivy",
|
||||
},
|
||||
buffers = {
|
||||
mappings = {
|
||||
n = {
|
||||
["d"] = "delete_buffer",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
local set = vim.keymap.set
|
||||
|
||||
|
||||
Reference in New Issue
Block a user