Bug 348845

Summary: split and vsplit commands are reversed
Product: [Applications] kate Reporter: Michael <sexymimi64>
Component: Vi Input ModeAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

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

http://commits.kde.org/ktexteditor/0b00782a90ec1d68b0fe0f3140620aeb6de4b132