summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins')
-rw-r--r--.config/nvim/lua/plugins/treewalker.lua12
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',
+ },
+}