Skip to content

Commit

Permalink
revert: restore translation of ^I ^J ^M
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed Aug 11, 2019
1 parent 6b4c309 commit 98b2006
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neovim/neovim.model.fs
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ module ModelImpl =
let (|Repeat|Special|Normal|ImeEvent|TextInput|Unrecognized|) (x: InputEvent) =
match x with
// | Key(HasFlag(InputModifiers.Control), Key.H)
// | Key(HasFlag(InputModifiers.Control), Key.J)
// | Key(HasFlag(InputModifiers.Control), Key.I)
// | Key(HasFlag(InputModifiers.Control), Key.M)
// | Key(HasFlag(InputModifiers.Control), Key.Oem4) // Oem4 is '['
// | Key(HasFlag(InputModifiers.Control), Key.L) // if ^L is sent as <FF> then neovim discards the key.
| Key(_, Key.Back) -> Special "BS"
| Key(HasFlag(InputModifiers.Control), Key.I)
| Key(_, Key.Tab) -> Special "Tab"
| Key(HasFlag(InputModifiers.Control), Key.J)
| Key(_, Key.LineFeed) -> Special "NL"
| Key(HasFlag(InputModifiers.Control), Key.M)
| Key(_, Key.Return) -> Special "CR"
| Key(_, Key.Escape) -> Special "Esc"
| Key(_, Key.Space) -> Special "Space"
Expand Down

0 comments on commit 98b2006

Please sign in to comment.