From 8b33ba2284f88bea4c6144364d75189255466661 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 8 Apr 2021 15:52:04 +0900 Subject: Correct the naming issue with vsplit and hsplit being swapped. --- helix-term/src/application.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helix-term/src/application.rs') diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 396bd565..71c6fba1 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -52,10 +52,10 @@ impl Application { if let Ok(files) = args.values_of_t::("files") { for file in files { - editor.open(file, Action::HorizontalSplit)?; + editor.open(file, Action::VerticalSplit)?; } } else { - editor.new_file(Action::HorizontalSplit)?; + editor.new_file(Action::VerticalSplit)?; } compositor.push(Box::new(ui::EditorView::new())); -- cgit v1.2.3-70-g09d2