Closed moorepants closed 8 years ago
There is already a FakeVim mode, though maybe it's not very easy to set up…
@hluk If you are still interested in it, maybe you could write a wiki page explaining how to use it?
List of available emulated commands are at https://github.com/hluk/FakeVim/blob/master/README.md .
I'm not sure if there is anything specific for the library that needs clarification from user point of view.
Perhaps it's worth mentioning that the plugin here tries to parse configuration at start from $HOME/.vimrc
(%HOMEPATH%\.vimrc
on Windows) so you can put some key bindings and commands there.
It isn't clear how I would use FakeVim. Do I need to compile retext with support for it or something?
To install Python bindings for FakeVim you need to run following commands.
(You may need to install additional development packages on your system.)
git clone https://github.com/hluk/FakeVim.git
cd FakeVim
qmake && make
cd python && ./configure.py && qmake && make install
After successful installation you should be able to import FakeVim
in python interpreter.
I would add to @hluk's comment that to build FakeVim, you need to have PyQt5 development files installed. On Debian/Ubuntu, install pyqt5-dev
package for that.
I'd be more apt to use the software if it had it had optional vim bindings for basic text input.