2024-11-28 18:14:45 +00:00
|
|
|
local config = require "ivy.config"
|
|
|
|
|
|
2024-09-04 18:07:43 +00:00
|
|
|
-- Set up ivy.nvim
|
|
|
|
|
-- See: https://github.com/AdeAttwood/ivy.nvim
|
2024-11-28 18:14:45 +00:00
|
|
|
require("ivy").setup {
|
2024-09-04 18:07:43 +00:00
|
|
|
backends = {
|
|
|
|
|
"ivy.backends.buffers",
|
|
|
|
|
"ivy.backends.files",
|
|
|
|
|
"ivy.backends.lines",
|
|
|
|
|
"ivy.backends.lsp-workspace-symbols",
|
|
|
|
|
"ivy.backends.rg",
|
|
|
|
|
},
|
2024-11-28 18:14:45 +00:00
|
|
|
mappings = vim.tbl_extend("force", config:get { "mappings" }, {
|
|
|
|
|
["<C-M-n>"] = "next_checkpoint",
|
|
|
|
|
["<C-M-p>"] = "previous_checkpoint",
|
|
|
|
|
}),
|
2024-09-04 18:07:43 +00:00
|
|
|
}
|