aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:52:57 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:52:57 +0100
commit4548c50b83e1629821d47f7fefb1c666e6210aaa (patch)
tree29d8e2c01cb9eda0fb710bb381fee478eec84be0
parent0efbfdd076af68d0b8b706b984f43d38a90d6ac9 (diff)
downloaddotfiles-4548c50b83e1629821d47f7fefb1c666e6210aaa.tar.gz
dotfiles-4548c50b83e1629821d47f7fefb1c666e6210aaa.tar.bz2
dotfiles-4548c50b83e1629821d47f7fefb1c666e6210aaa.zip
fix(nvim): correct reversed lhs/rhs in Treewalker SwapUp mapping
In lazy.nvim key specs the first element is lhs (key) and second is rhs (action). These were swapped, making the mapping broken.
-rw-r--r--home/.config/nvim/lua/custom/plugins/ts.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/.config/nvim/lua/custom/plugins/ts.lua b/home/.config/nvim/lua/custom/plugins/ts.lua
index 0b0d9f3..9bafc60 100644
--- a/home/.config/nvim/lua/custom/plugins/ts.lua
+++ b/home/.config/nvim/lua/custom/plugins/ts.lua
@@ -31,8 +31,8 @@ return {
desc = "Moves to the next node down that's indented further than the current node",
},
{
- "<cmd>Treewalker SwapUp<cr>",
"<s-a-k>",
+ "<cmd>Treewalker SwapUp<cr>",
silent = true,
desc = "Swaps the highest node on the line upwards in the document",
},