nvchad/lua/mappings.lua

17 lines
453 B
Lua
Raw Normal View History

2024-03-09 11:03:44 -05:00
require "nvchad.mappings"
-- add yours here
local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
2024-03-17 21:11:03 -04:00
map("i", "jk", "<ESC>")
2024-03-09 11:03:44 -05:00
2024-03-17 21:11:03 -04:00
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")
local custom_telescope = require('custom_telescope')
-- Add a keybinding for searching Markdown tasks
vim.api.nvim_set_keymap('n', '<leader>mt', ':lua require("custom_telescope").search_markdown_tasks()<CR>', { noremap = true, silent = true })