chore(vim): add some ivy key mappings for testing

This is not really needed for my config. Its there so we can make sure this
config works for my config when developing ivy.
This commit is contained in:
Ade Attwood 2024-11-28 18:14:45 +00:00
parent 8000173917
commit a7a99e16d0

View file

@ -1,6 +1,8 @@
local config = require "ivy.config"
-- Set up ivy.nvim -- Set up ivy.nvim
-- See: https://github.com/AdeAttwood/ivy.nvim -- See: https://github.com/AdeAttwood/ivy.nvim
require('ivy').setup { require("ivy").setup {
backends = { backends = {
"ivy.backends.buffers", "ivy.backends.buffers",
"ivy.backends.files", "ivy.backends.files",
@ -8,4 +10,8 @@ require('ivy').setup {
"ivy.backends.lsp-workspace-symbols", "ivy.backends.lsp-workspace-symbols",
"ivy.backends.rg", "ivy.backends.rg",
}, },
mappings = vim.tbl_extend("force", config:get { "mappings" }, {
["<C-M-n>"] = "next_checkpoint",
["<C-M-p>"] = "previous_checkpoint",
}),
} }