dotfiles/pkgs/nvchad/extraConfig/mycfg/lua/mappings.lua
delta 61f5b3185b
Some checks are pending
laptop / tests (push) Waiting to run
intelnuc / tests (push) Waiting to run
upd :З
2024-08-06 05:38:44 +03:00

16 lines
398 B
Lua

require "nvchad.mappings"
-- add yours here
-- Leader+/ comment
local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jj", "<ESC>")
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
local preview = require('preview_line')
vim.api.nvim_set_keymap('n', '<Leader>gg', ':lua require("preview_line").preview_line()<CR>', { noremap = true, silent = true })