summaryrefslogtreecommitdiff
path: root/config/essentials/nvim/after/plugin/pantran.lua
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-04-29 13:59:47 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-04-29 13:59:47 +0200
commit026b92cdbfafcbd7103dcc53bba4f44c6a459593 (patch)
tree4fca2902d8f502affe14abc4afc7e4902ce59a29 /config/essentials/nvim/after/plugin/pantran.lua
parent692bc52c20da866630fa401be6740bc38f8f8574 (diff)
Removed nvim
Diffstat (limited to 'config/essentials/nvim/after/plugin/pantran.lua')
-rw-r--r--config/essentials/nvim/after/plugin/pantran.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/config/essentials/nvim/after/plugin/pantran.lua b/config/essentials/nvim/after/plugin/pantran.lua
deleted file mode 100644
index a7aab19..0000000
--- a/config/essentials/nvim/after/plugin/pantran.lua
+++ /dev/null
@@ -1,18 +0,0 @@
-require("pantran").setup{
- controls = {
- mappings = {
- edit = {
- n = {
- ["j"] = "gj",
- ["k"] = "gk",
- }
- }
- }
- }
-}
-local pantran = require('pantran')
-local opts = {noremap = true, silent = true, expr = true}
-vim.keymap.set("n", "<leader>tr", pantran.motion_translate, opts)
-
-vim.keymap.set("n", "<leader>trr", function() return pantran.motion_translate() .. "_" end, opts)
-vim.keymap.set("x", "<leader>tr", pantran.motion_translate, opts)