Repository pattern for text editor
I am building an Vim based text editor with panes. I have build quite a lot of an editor with layered like architecture. Should I rewrite into a central repository pattern? It would make it easier to manipulate data by components. (I write my editor in C++ with SDL).