vim-table-mode icon indicating copy to clipboard operation
vim-table-mode copied to clipboard

table_mode_separator

Open spavlovich001 opened this issue 10 years ago • 7 comments

in insert mode C-k 4! --> ┊ let g:table_mode_separator = '┊' E121: Undefined variable: separator_map E15: Invalid expression: separator_map . '<Esc>:call tablemode#TableizeInsertMode()<CR>a'

spavlovich001 avatar Dec 07 '15 10:12 spavlovich001

How would you type that character ? The separator is also used to bind they key for table creation.

dhruvasagar avatar Dec 07 '15 10:12 dhruvasagar

in insert mode C-k 4! --> ┊

spavlovich001 avatar Dec 07 '15 10:12 spavlovich001

wouldn't it be very awkward to type ? Table Mode uses the separator as a mapping in insert mode to add columns / rows / borders. Or would you instead use the separator as that but still use | for mapping ?

dhruvasagar avatar Dec 07 '15 10:12 dhruvasagar

I make programming notes in vim. And many notes have table: http://postimg.org/image/do34bu61j/

imho, the only way to do this - used separator not from writable symbols

spavlovich001 avatar Dec 07 '15 12:12 spavlovich001

Actually that is a known problem / issue. I still haven't found a very good solution to it yet. I am working on it. You're suggestion is worth considering. Thanks. I will notify via this issue once I have resolved it.

dhruvasagar avatar Dec 07 '15 12:12 dhruvasagar

If use separator not from writable symbols, It would be good to make a hotkey to call the separator

spavlovich001 avatar Dec 07 '15 13:12 spavlovich001

I agree that while | is very convenient for initial use, I also use this plugin to document grammars and the vertical bar is the canonical symbol for or in many programming languages. Would like an unprintable binding if possible.

qlyoung avatar Jun 15 '16 19:06 qlyoung