diff options
| -rw-r--r-- | .config/nvim/lazy-lock.json | 1 | ||||
| -rw-r--r-- | .config/nvim/lua/plugins/treewalker.lua | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 3631fe7..9686a7d 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -48,6 +48,7 @@ "tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "cd401038de4cbae37651cfe02510294ccf5cdc98" }, "todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" }, "tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" }, + "treewalker.nvim": { "branch": "main", "commit": "34bf0a6044e0b5e3d93b7012ae7bdf457de91ba1" }, "undotree": { "branch": "master", "commit": "b951b87b46c34356d44aa71886aecf9dd7f5788a" }, "vim-illuminate": { "branch": "master", "commit": "fbc16dee336d8cc0d3d2382ea4a53f4a29725abf" }, "vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" }, 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', + }, +} |
