Add keymaps to easily run macros

This commit is contained in:
Oliver Davies 2023-12-12 20:22:06 +00:00
parent b40e25dea0
commit 4259ab0985

View file

@ -12,3 +12,9 @@ require "opdavies.telescope.mappings"
vim.api.nvim_create_user_command("GoToFile", function()
require("opdavies.telescope").git_files()
end, {})
local map = require("opdavies.keymap").map
-- Quicker macro playback.
map { "n", "Q", "@qj" }
map { "x", "Q", ":norm @q<CR>" }