mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-23 05:19:48 -04:00
feat: use i
to enter edit mode
This commit is contained in:
parent
f8dbec18e4
commit
d7301246d8
BIN
examples/test.icalc
Normal file
BIN
examples/test.icalc
Normal file
Binary file not shown.
@ -203,7 +203,7 @@ impl<'ws> Workspace<'ws> {
|
|||||||
fn handle_navigation_input(&mut self, key: event::KeyEvent) -> Result<Option<ExitCode>> {
|
fn handle_navigation_input(&mut self, key: event::KeyEvent) -> Result<Option<ExitCode>> {
|
||||||
if key.kind == KeyEventKind::Press {
|
if key.kind == KeyEventKind::Press {
|
||||||
match key.code {
|
match key.code {
|
||||||
KeyCode::Char('e') => {
|
KeyCode::Char('e') | KeyCode::Char('i') => {
|
||||||
self.enter_edit_mode();
|
self.enter_edit_mode();
|
||||||
}
|
}
|
||||||
KeyCode::Char(':') => {
|
KeyCode::Char(':') => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user