There is an editor that already does what you state that works on every main stream platform, has a great extension language, has a huge library of already existing extensions and is completely open source.
GNU Emacs. And if you don't like that Vim is also pretty darn awesome.
If this just stays inside the coding community, it will likely be competitive but not universal, but if it can be built to target non-coders, it could set a new standard.