.dotfiles/nvim/lua/mappings.lua

13 lines
296 B
Lua
Raw Permalink Normal View History

2024-04-01 10:41:54 +03:00
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>")
2024-09-09 14:34:02 +03:00
map("n", '<leader>fr', function() vim.lsp.buf.references() end, { desc = "References" })