dhruvasagar / vim-table-mode

VIM Table Mode for instant table creation.
2.11k stars 96 forks source link

Rebind keys to move between cells #211

Closed tim-hilt closed 2 years ago

tim-hilt commented 2 years ago

[|, ]|, {| and }| are pretty awkward to type, at least for me. Can those keys be rebound to tab, shift-tab and enter to go to the next cell, previous cell and downwards? I'm used to those keybindings, because Obsidian uses them. Here's a gif that shows, how those bindings work there. Peek 2022-02-17 08-26

tim-hilt commented 2 years ago

I noticed, that the gif cuts off screenkey! Let me know if I should record it again.

dhruvasagar commented 2 years ago

You can change these mapping by changing the following configurations :

g:table_mode_motion_up_map
g:table_mode_motion_down_map
g:table_mode_motion_left_map
g:table_mode_motion_right_map

Kindly refer to :h table-mode-options for more configuration options