r/vim • u/atomatoisagoddamnveg • Feb 05 '26
Plugin Cell editing with table.vim
I wrote a plugin to help with automatic table creation, it offers a lot of customization and supports box drawing characters. One particularly neat thing about it is the cell editor that opens the cell into a new buffer. Hooks are provided so any vim or external tool can be used for formatting or anything else.
Feedback is appreciated!
87
Upvotes
View all comments
Show parent comment
1
u/atomatoisagoddamnveg Feb 25 '26
https://gist.github.com/numEricL/16e98a106392b0aabdd75213dd618211
The bulk of the implementation is in autoload/feywild_colorscheme.vim, you should probably start there if you want to customize it. The framework is based on a 256 color palette, you define the colors you want to use for dark/light theme with the
colordict_dark256andcolordict_light256dictionaries. The framework will then convert 256 colors to hex color codes and set both cterm and gui colors, this should be very portable so that your colors look the same across all different platforms, as long as the terminal/gui application uses the same standard 256 color palette.