dhruvasagar / vim-table-mode

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

Visual mode issue #219

Closed alloc33 closed 2 years ago

alloc33 commented 2 years ago

How can I disable this in block visual mode? I tried to use 'I' and 'a' in block visual mode, but it seems like this plugin functionality overlaps default vim bindings Screen Shot 2022-08-04 at 11 04 33 AM

dhruvasagar commented 2 years ago

@xbladesub It'll help if you read the docs. The text objects provided by the plugin are i| and a| following vim design of representing inside and around a table cell.

These are active only inside a table, when table mode is enabled so ideally these do not come in your way. However, if you really want to disable these you could do the following :

let g:table_mode_cell_text_object_i_map = '<Nop>'
let g:table_mode_cell_text_object_a_map = '<Nop>'