All Projects → onivim → Reason Libvim

onivim / Reason Libvim

Licence: mit
Reason API for libvim

Programming Languages

ocaml
1615 projects
reason
219 projects

Projects that are alternatives of or similar to Reason Libvim

Sketch Sh
Sketch.sh - Online Code Editor and ReasonML community
Stars: ✭ 403 (+1915%)
Mutual labels:  reasonml
Reason React
Stars: ✭ 636 (+3080%)
Mutual labels:  reasonml
T Rex Runner Reason
🦖 The T-Rex Runner Game from Chrome written in Reason
Stars: ✭ 16 (-20%)
Mutual labels:  reasonml
Renature
A physics-based animation library for React focused on modeling natural world forces.
Stars: ✭ 408 (+1940%)
Mutual labels:  reasonml
Learn Graphql
Real world GraphQL tutorials for frontend developers with deadlines!
Stars: ✭ 586 (+2830%)
Mutual labels:  reasonml
Oni2
Native, lightweight modal code editor
Stars: ✭ 6,704 (+33420%)
Mutual labels:  reasonml
Reason Design Patterns
🗺 An unofficial collection of "design patterns" for Reason and OCaml
Stars: ✭ 379 (+1795%)
Mutual labels:  reasonml
Rollup Plugin Bucklescript
rollup plugin for using bucklescript
Stars: ✭ 23 (+15%)
Mutual labels:  reasonml
Reason React Hacker News
hacker news mobile app made with reason react
Stars: ✭ 591 (+2855%)
Mutual labels:  reasonml
Avatar Generator
Persona Avatar Generator by Draftbit
Stars: ✭ 808 (+3940%)
Mutual labels:  reasonml
Brisk
✨Cross-platform set of tools for building native UIs with Reason/OCaml
Stars: ✭ 518 (+2490%)
Mutual labels:  reasonml
Query Json
Faster and simpler implementation of jq in Reason Native
Stars: ✭ 530 (+2550%)
Mutual labels:  reasonml
Gentype
Auto generation of idiomatic bindings between Reason and JavaScript: either vanilla or typed with TypeScript/FlowType.
Stars: ✭ 683 (+3315%)
Mutual labels:  reasonml
Reductive
Redux in Reason
Stars: ✭ 405 (+1925%)
Mutual labels:  reasonml
Cra Template Rescript Lukin
🐪 Lukin CRA and ReScript Template
Stars: ✭ 18 (-10%)
Mutual labels:  reasonml
Crra
Create Reason React App
Stars: ✭ 384 (+1820%)
Mutual labels:  reasonml
Reason Scripts
🔰 Create a ReasonML and React development environment
Stars: ✭ 644 (+3120%)
Mutual labels:  reasonml
Revery Playground
Live, interactive playground for Revery examples
Stars: ✭ 14 (-30%)
Mutual labels:  reasonml
Reasonbizcharts
ReasonML binding for BizCharts https://bizcharts.net/products/bizCharts/demo
Stars: ✭ 23 (+15%)
Mutual labels:  reasonml
Rescript React Native
ReScript bindings for React Native
Stars: ✭ 802 (+3910%)
Mutual labels:  reasonml

NOTE: This is now deprecated - future development is happening in the core Onivim 2 repo.

reason-libvim

Build Status

Reason API for libvim - an abstraction of Vim as an API.

Usage

  • Call vimInit() before anything else

  • Call vimInput("i") or vimInput("<esc>") to send keystrokes

  • Call vimCommand("%s/hello/world/g") to execute Ex commands

  • Introspect 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 the test cases

Documentation

Documentation is available here

License

MIT License

Copyright 2019 Outrun Labs, LLC

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].