You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change_selection command from the keymap lets helix unwrap with not implemented error when used in a keymap like following:
[keys.normal]
h = ["extend_line", "trim_selections", "change_selection"]
when used alone like h = "change_selection" it works just fine.
Reproduction Steps
I tried this:
config.toml:
theme = "dracula"
[keys.normal]
h = ["extend_line", "trim_selections", "change_selection"]
# h = ["trim_selections", "change_selection"]# h = "change_selection"
RUST_BACKTRACE=1 hx
On line 2 press h
fnmain(){println!("Hello world");}
I expected this to happen:
fnmain(){
<cursor>
}
Instead, this happened:
Helix panicked with
thread 'main' panicked at 'not implemented', helix-term/src/ui/editor.rs:1352:34
stack backtrace:
0: rust_begin_unwind
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:584:5
1: core::panicking::panic_fmt
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:143:14
2: core::panicking::panic
at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:48:5
3: <helix_term::ui::editor::EditorView as helix_term::compositor::Component>::handle_event
4: helix_term::compositor::Compositor::handle_event
5: helix_term::application::Application::handle_terminal_events
6: helix_term::application::Application::event_loop_until_idle::{{closure}}
7: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
8: std::thread::local::LocalKey<T>::with
9: tokio::park::thread::CachedParkThread::block_on
10: tokio::runtime::thread_pool::ThreadPool::block_on
11: tokio::runtime::Runtime::block_on
12: hx::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Summary
The
change_selection
command from the keymap lets helix unwrap withnot implemented
error when used in a keymap like following:when used alone like
h = "change_selection"
it works just fine.Reproduction Steps
I tried this:
config.toml:
RUST_BACKTRACE=1 hx
h
I expected this to happen:
Instead, this happened:
Helix panicked with
Helix log
~/.cache/helix/helix.log
Platform
Artix Linux 5.18.10 x86_64
Terminal Emulator
Konsole 22.04.3
Helix Version
helix 22.05-234 (g0cb0c306)
The text was updated successfully, but these errors were encountered: