-
Notifications
You must be signed in to change notification settings - Fork 197
FakeVim mode
Dmitry Shachnev edited this page Aug 9, 2018
·
4 revisions
ReText supports a Vim-like editing mode via FakeVim module.
You need to compile it from source using the following procedure:
-
First of all, install SIP and PyQt5 development files and the qmake build system.
On Debian-based systems, use this command:
# apt install pyqt5-dev python3-sip-dev qtbase5-dev
-
Then, clone the repository:
$ git clone https://github.com/hluk/FakeVim.git
-
Build FakeVim:
$ cd FakeVim $ QT_SELECT=5 qmake $ make
-
Build FakeVim Python bindings
$ cd python $ QT_SELECT=5 python3 ./configure.py $ QT_SELECT=5 qmake $ make
-
Finally, install the Python extension (this command will install it into user site-packages directory):
$ make install
Now you should be able to start ReText and select the “FakeVim mode” option from Edit menu.
The supported set of FakeVim features is described in FakeVim README file.
Pages in this wiki:
- Home
- Installing ReText
- FAQ
- Markdown syntax extensions
- Math formulas
- Export extensions
- Table editing mode
- FakeVim mode
Documentation in git repository: