Skip to content

Commit

Permalink
disable toggle VI mode for now
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Oct 18, 2023
1 parent 4a9c17a commit fcc9558
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rio/src/screen/bindings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ impl From<String> for Action {
"scrollhalfpagedown" => Some(Action::ScrollHalfPageDown),
"scrolltotop" => Some(Action::ScrollToTop),
"scrolltobottom" => Some(Action::ScrollToBottom),
"togglevimode" => Some(Action::ToggleViMode),
// "togglevimode" => Some(Action::ToggleViMode),
"none" => Some(Action::None),
_ => None,
};
Expand Down Expand Up @@ -368,6 +368,7 @@ pub enum Action {
ClearSelection,

/// Toggle vi mode.
#[allow(dead_code)]
ToggleViMode,

/// Allow receiving char input.
Expand Down Expand Up @@ -527,7 +528,7 @@ pub fn default_key_bindings(
Action::Esc("\x1bOD".into());

// VI Mode
"j", ModifiersState::SUPER; Action::ToggleViMode;
// "j", ModifiersState::SUPER; Action::ToggleViMode;
Escape, +BindingMode::VI; Action::ClearSelection;
"i", +BindingMode::VI; Action::ScrollToBottom;
"g", +BindingMode::VI; Action::ScrollToTop;
Expand Down

0 comments on commit fcc9558

Please sign in to comment.