Bug 348845 - split and vsplit commands are reversed
Summary: split and vsplit commands are reversed
Alias: None
Product: kate
Classification: Applications
Component: Vi Input Mode (show other bugs)
Version: 5.0.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
Depends on:
Reported: 2015-06-07 15:25 UTC by Michael
Modified: 2015-07-11 14:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2015-06-07 15:25:53 UTC
In previous versions of Kate, :vsplit would make a vertical split, and :split an horizontal one. This is also the way vim behaves.

Right now, :split opens vertical splits and :vsplit opens horizontal splits.

Reproducible: Always

Steps to Reproduce:
1. Enable vi mode
2. Go in command mode
2. Input `:vsplit`

Actual Results:  
I ended up with two splits, one up, one down.

Expected Results:  
I should end up with two splits, one left, one right.
Comment 1 Christoph Cullmann 2015-07-11 14:24:38 UTC
Git commit 0b00782a90ec1d68b0fe0f3140620aeb6de4b132 by Christoph Cullmann.
Committed on 11/07/2015 at 14:24.
Pushed by cullmann into branch 'master'.

split directions did got reversed
vi variants != Qt variants

M  +2    -2    src/vimode/appcommands.cpp