Dotfiles/site-modules/core/files/vim/plugin/ivy.lua
Ade Attwood a7a99e16d0 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.
2024-11-28 18:15:40 +00:00

17 lines
443 B
Lua

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