From 0fc62d0ff54664b69472ad6cfad0c33ef8cb47e6 Mon Sep 17 00:00:00 2001 From: Daniel Oliveira Date: Wed, 31 Jul 2024 12:42:16 +0100 Subject: [PATCH 1/2] use a specific version of nightly temporarily due to https://github.com/rust-lang/rust/issues/128401 --- rust-toolchain.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 271800c..fb50f67 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly" \ No newline at end of file +channel = "nightly-2024-07-28" From b216b907ee48d90b487bcf30490b966a7639a727 Mon Sep 17 00:00:00 2001 From: Daniel Oliveira Date: Wed, 31 Jul 2024 12:47:56 +0100 Subject: [PATCH 2/2] fix non-working vim l bind --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7dda1ee..e6e08e4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -473,7 +473,7 @@ fn convert_event(event: crossterm::event::Event) -> Option { ((KeyModifiers::empty(), KeyCode::Left), Left), ((KeyModifiers::empty(), KeyCode::Char('h')), Left), ((KeyModifiers::empty(), KeyCode::Right), Right), - ((KeyModifiers::empty(), KeyCode::Char(';')), Right), + ((KeyModifiers::empty(), KeyCode::Char('l')), Right), ((KeyModifiers::empty(), KeyCode::Up), Up), ((KeyModifiers::empty(), KeyCode::Char('k')), Up), ((KeyModifiers::empty(), KeyCode::Down), Down),