Keybinds to run project

This commit is contained in:
Cameron Reed 2024-10-31 12:43:57 -06:00
parent f45414fe0e
commit 9dcf968446
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
vim.keymap.set("n", "<leader>fr", "<cmd>!python3 %<cr>")

View File

@ -1,2 +1,5 @@
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
vim.keymap.set("n", "<Escape>", function () vim.opt.hlsearch = false end)
vim.keymap.set("n", "<leader>pr", "<cmd>!just run<cr>")
vim.keymap.set("n", "<leader>pb", "<cmd>!just build<cr>")