Skip to content

Commit ed8249d

Browse files
committed
Update readme
1 parent 3a21988 commit ed8249d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ vim.keymap.set('n', '<C-S-k>', '<cmd>Treewalker SwapUp<cr>', { noremap = true, s
7373

7474
I also utilize some
7575
[nvim-treesitter-textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects?tab=readme-ov-file#text-objects-swap)
76-
commands to round out the swap commands - `<C-S-{j,k,l,h}>` just feel really good to me, so might as well get the
77-
lateral swapping as well. (This is not something that `Treewalker` needs to do as it already exists from other libraries)
76+
commands to get lateral swapping (that way I get all four `<C-S-{h,j,k,l}>` maps):
7877

7978
```lua
8079
vim.keymap.set('n', "<C-S-l>", ":TSTextobjectSwapNext @parameter.inner<CR>", { noremap = true, silent = true })

0 commit comments

Comments
 (0)