From 2565b1e0feb1e929c6b0212dca89cf101bb0dfb2 Mon Sep 17 00:00:00 2001 From: daa Date: Sun, 3 Dec 2017 17:33:34 +0300 Subject: [PATCH] Fix input '<' symbol (#6) --- src/input.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input.rs b/src/input.rs index 3283d35..8eecd46 100644 --- a/src/input.rs +++ b/src/input.rs @@ -79,7 +79,9 @@ pub fn convert_key(ev: &EventKey) -> Option { pub fn im_input(nvim: &mut Neovim, input: &str) { debug!("nvim_input -> {}", input); - nvim.input(input).expect("Error run input command to nvim"); + + let input = keyval_to_input_string(input, gdk::ModifierType::empty()); + nvim.input(&input).expect("Error run input command to nvim"); } pub fn gtk_key_press(nvim: &mut Neovim, ev: &EventKey) -> Inhibit {