.dotfiles/nvim/lua/mappings.lua

13 lines
296 B
Lua

require "nvchad.mappings"
-- add yours here
local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
map("n", '<leader>fr', function() vim.lsp.buf.references() end, { desc = "References" })