Add keymaps to easily run macros
This commit is contained in:
parent
b40e25dea0
commit
4259ab0985
|
@ -12,3 +12,9 @@ require "opdavies.telescope.mappings"
|
||||||
vim.api.nvim_create_user_command("GoToFile", function()
|
vim.api.nvim_create_user_command("GoToFile", function()
|
||||||
require("opdavies.telescope").git_files()
|
require("opdavies.telescope").git_files()
|
||||||
end, {})
|
end, {})
|
||||||
|
|
||||||
|
local map = require("opdavies.keymap").map
|
||||||
|
|
||||||
|
-- Quicker macro playback.
|
||||||
|
map { "n", "Q", "@qj" }
|
||||||
|
map { "x", "Q", ":norm @q<CR>" }
|
||||||
|
|
Loading…
Reference in a new issue