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

Reply via email to