diff --git a/after/ftplugin/python.lua b/after/ftplugin/python.lua new file mode 100644 index 0000000..e844286 --- /dev/null +++ b/after/ftplugin/python.lua @@ -0,0 +1 @@ +vim.keymap.set("n", "fr", "!python3 %") diff --git a/lua/cam123/remap.lua b/lua/cam123/remap.lua index f7a63d6..00353d7 100644 --- a/lua/cam123/remap.lua +++ b/lua/cam123/remap.lua @@ -1,2 +1,5 @@ vim.keymap.set("n", "pv", vim.cmd.Ex) vim.keymap.set("n", "", function () vim.opt.hlsearch = false end) + +vim.keymap.set("n", "pr", "!just run") +vim.keymap.set("n", "pb", "!just build")