diff --git a/lua/plugins/pantran.lua b/lua/plugins/pantran.lua new file mode 100644 index 0000000..3ce52f1 --- /dev/null +++ b/lua/plugins/pantran.lua @@ -0,0 +1,14 @@ +return { + "potamides/pantran.nvim", + config = function () + local pantran = require("pantran") + pantran.setup({ + default_engine = "google", + window = { + title_border = { "<<", ">>" }, + } + }) + vim.keymap.set("n", "tr", pantran.motion_translate, {expr=true}) + vim.keymap.set("v", "tr", pantran.motion_translate, {expr=true}) + end, +}