Repository: nushell/nushell (language: rust)

Issue:
`explore` Add `expand` shortcut in selection mode
### Related problem

Right now expanding a selected cell only works by typing the `:expand` command. Expanding with `e` already works in non-selection mode, so I expect it to work in selection mode as well

### Describe the solution you'd like

Pressing `e` already expands the current view when not in selection mode and typing `:expand` already works on selected cells. It would make sense to have a shortcut in selection mode as well.

I would gladly put money where my mouth is and do this task myself

### Describe alternatives you've considered

_No response_

### Additional context and details

_No response_


Discussion / hints:
Sounds good to me. Have fun!

Fix patch:
diff --git a/crates/nu-explore/src/views/record/mod.rs b/crates/nu-explore/src/views/record/mod.rs
index e00334825873d..3e7d00615d9f3 100644
--- a/crates/nu-explore/src/views/record/mod.rs
+++ b/crates/nu-explore/src/views/record/mod.rs
@@ -414,10 +414,7 @@ impl CursorMoveHandler for RecordView {
         Transition::Ok
     }
     fn handle_expand(&mut self) -> Transition {
-        match self.mode {
-            UIMode::View => Transition::Cmd(String::from("expand")),
-            _ => Transition::None,
-        }
+        Transition::Cmd(String::from("expand"))
     }
     fn handle_transpose(&mut self) -> Transition {
         match self.mode {


Test patch: