D27928: [VIM Mode] Add g<up> g<down> commands

Mikhail Zolotukhin <[email protected]>
Newsgroups gmane.comp.kde.devel.frameworks,gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
gikari created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
gikari requested review of this revision.

REVISION SUMMARY
  Add twin commands for `gj` and `gk` for usage with standard
  arrow keys.
  
  BUG: 418486

TEST PLAN
  1. Open document with large sentences, that span across multiple visual lines in Kate and use `gj` and `gk` commands in normal mode to move inside a line.
  2. Use `g<down>` and `g<up>` commands - the result must be the same, as using `gj` and `gk` commands.
  3. Repeat the same for `visual` mode.

REPOSITORY
  R39 KTextEditor

BRANCH
  g-up-g-down-commands (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D27928

AFFECTED FILES
  src/vimode/modes/normalvimode.cpp
  src/vimode/modes/visualvimode.cpp

To: gikari
Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.