Skip to content

Commit 707e00a

Browse files
committed
update CHANGES and opam for release 3.0.0
1 parent 496984b commit 707e00a

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

CHANGES.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
3.0.0 (2020-04-24)
1+
3.0.0 (2020-04-25)
22
------------------
33

44
### Additions
@@ -9,11 +9,30 @@
99
* `method editor_mode : LTerm_editor.mode signal`: the current editor mode
1010
* `method set_editor_mode : LTerm_editor.mode -> unit`: set the current editor mode
1111

12+
Add initial support for vi editing mode to `LTerm_read_line`:
13+
* motions:
14+
* h l 0 ^ $
15+
* j k gg G
16+
* w W e E b B ge gE
17+
* f F t T
18+
* aw iw aW iW
19+
* include or inner ( ), [ ], { }, < >, ' and "
20+
* generic quote: aq? iq? where ? could be any character
21+
* bracket matching: jump back and forth between matched brakcets
22+
* delete, change, yank with motions
23+
* paste: p P
24+
* line joining: J
25+
1226
### Breaking
1327

14-
`LTerm_read_line: class virtual ['a] term`: the type signature of `method private exec` is changed to `?keys : LTerm_key.t list -> action list -> 'a loop_result Lwt.t` from `method private exec : action list -> 'a Lwt.t`
28+
* `LTerm_read_line
29+
* class virtual ['a] term`: the type signature of `method private exec` is changed
30+
from
31+
`method private exec : action list -> 'a Lwt.t`
32+
to
33+
`?keys : LTerm_key.t list -> action list -> 'a loop_result Lwt.t`
1534

16-
Since this is a private method and is intended to be used internally, the backward-compatibility is not affeted in most cases.
35+
Since this is a private method and is intended to be used internally, the backward-compatibility will not be affected in most cases.
1736

1837
### General
1938

lambda-term.opam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ depends: [
1414
"lwt" {>= "4.0.0"}
1515
"lwt_log"
1616
"react"
17-
"zed" {>= "2.0.3" & < "3.0"}
17+
"zed" {>= "3.0.0" & < "4.0"}
1818
"camomile" {>= "1.0.1"}
1919
"lwt_react"
20-
"dune" {>= "1.0.0"}
20+
"mew_vi" {>= "0.3.0" & < "1.0.0"}
21+
"dune" {>= "1.1.0"}
2122
]
2223
synopsis: "Terminal manipulation library for OCaml"
2324
description: """

0 commit comments

Comments
 (0)