diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-05-07 19:51:02 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-05-07 19:51:02 +0300 |
| commit | 1f99b3c587814ad887695c8d72226248d2953696 (patch) | |
| tree | ea821ead7e6926b941600f1216bbe1ac9588e550 /.config/nvim/lua/plugins | |
| parent | 2a210c153dcf801994be28c477e4860b394f33f0 (diff) | |
Added treewalker to swap function args/params etc, might switch to:
https://github.com/mizlan/iswap.nvim later on bcz it seems better
Diffstat (limited to '.config/nvim/lua/plugins')
| -rw-r--r-- | .config/nvim/lua/plugins/treewalker.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/treewalker.lua b/.config/nvim/lua/plugins/treewalker.lua new file mode 100644 index 0000000..af4992b --- /dev/null +++ b/.config/nvim/lua/plugins/treewalker.lua @@ -0,0 +1,12 @@ +return { + 'aaronik/treewalker.nvim', + keys = { + { 'H', '<cmd>Treewalker SwapLeft<cr>', silent = true }, + { 'L', '<cmd>Treewalker SwapRight<cr>', silent = true }, + }, + opts = { + highlight = true, + highlight_duration = 250, + highlight_group = 'CursorLine', + }, +} |
