diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-05-01 16:25:06 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2020-05-03 10:51:15 +0200 |
| commit | d0b84dd89fb1cb4fc637cd3deec427745ba3145b (patch) | |
| tree | a2920ca37e02ce22f3a46d6e876cb3feb9486d96 /lua/nvim-treesitter/configs.lua | |
| parent | 0207836eb2aaa876d52ffddd1ec89ec347c67996 (diff) | |
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 = {}, |
