diff options
| author | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-05-03 11:19:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-03 11:19:28 +0200 |
| commit | 5cc7407c7f730c552120fc7d7d9a136ae6b7035f (patch) | |
| tree | 593390eedb3dd2218a2a143e8d5dbcd566780664 /lua/nvim-treesitter/configs.lua | |
| parent | 0207836eb2aaa876d52ffddd1ec89ec347c67996 (diff) | |
| parent | a33bccaaf0c69146dfe330feb52e05c975054468 (diff) | |
Merge pull request #37 from theHamsta/node-movement
Add 'nvim-treesitter/node-movement'
Diffstat (limited to 'lua/nvim-treesitter/configs.lua')
| -rw-r--r-- | lua/nvim-treesitter/configs.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index 10dcc960..9695da5a 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -223,6 +223,17 @@ local config = { }, is_supported = function() return true end }, + node_movement = { + enable = false, + disable = {}, + is_supported = function() return true end, + keymaps = { + move_up = "<a-k>", + move_down = "<a-j>", + move_left = "<a-h>", + move_right = "<a-l>", + }, + }, -- folding = { -- enable = false, -- disable = {}, |
