WarWithinMe / xVim

A SIMBL Plugin to provide Vim Key Binding for MacOSX editors.
128 stars 7 forks source link

Client API + Command Line Popover #6

Closed atg closed 12 years ago

atg commented 12 years ago

I've added an API, so that xVim can be loaded into Chocolat as a library (or any other editor that wants to), without using SIMBL. This is all in the XClient class. Basically, when xVim is compiled with VIM_COOPERATIVE, then XGlobal does not do any swizzling, it's up to the editor to instantiate an XClient for each text view.

I've also added a very basic search and command-line mode, using NSPopover (see XVimExMode.m). It supports search queries of the form

/pattern/options
?pattern?options

And that's about it. There's also 3 commands:

:w[rite] :q[uit] :wq

Thanks!