refactor(nvim): migrate to new keymap API

This commit is contained in:
Stefan Imhoff
2022-11-06 10:54:01 +01:00
parent bcc8549723
commit fa858d2ba9
10 changed files with 10 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ project.setup({
datapath = vim.fn.stdpath("data"),
})
local keymap = vim.api.nvim_set_keymap
local keymap = vim.keymap.set
local opts = { noremap = true, silent = true }
keymap("n", "<leader>pm", [[<Cmd>:Telescope projects<CR>]], opts)