This repository was archived by the owner on May 27, 2020. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork6
onivim/reason-libvim
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
NOTE: This is now deprecated - future development is happening in the coreOnivim 2 repo.
Reason API forlibvim - an abstraction of Vim as an API.
Call
vimInit()before anything elseCall
vimInput("i")orvimInput("<esc>")to send keystrokesCall
vimCommand("%s/hello/world/g")to execute Ex commandsIntrospect the state with the API, for example:
vimInit();vimCommand("e ./aBigFile.txt");/* Use 'G' to move to the end of the file */vimInput("G");/* Print line position */print_endline ("Cursor is at line: " ++ string_of_int(Cursor.getLine()));/* Type a at the beginning of the line */vimInput("I");vimInput("a");For more example usage, see thetest cases
Documentation is availablehere
Copyright 2019 Outrun Labs, LLC
About
Reason API for libvim
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.