[Github-comments] [geany/geany-plugins] vimode: When wrapping is on, "k" should go to the first line of wrapping (#754)

Jiří Techet notifications at xxxxx
Thu Jun 14 12:10:20 UTC 2018


This is a sister implementation for "k" in order to behave like "j" when wrapping is on (see #748). The problem with the current implementation is that "k" moves caret to the last line of a wrapped line instead of the first one like "j".

@pcworld Can you check if it looks good to you? This one is a bit more complex because one has to either "iterate" over the wraps when going up (for the first line only) or go to the previous line and go down.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/754

-- Commit Summary --

  * vimode: When wrapping is on, "k" should go to the first line of wrapping

-- File Changes --

    M vimode/src/cmds/motion.c (48)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/754.patch
https://github.com/geany/geany-plugins/pull/754.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/754
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180614/f555c1c9/attachment.html>


More information about the Github-comments mailing list