junegunn / goyo.vim

:tulip: Distraction-free writing in Vim
MIT License
4.52k stars 116 forks source link

Feature Request: Sane Keybindings #81

Closed janwirth closed 9 years ago

janwirth commented 9 years ago

HJKL jumps over lines, which is usually confusing because we have no line numbers.

junegunn commented 9 years ago

I don't think I follow you. Please be more specific.

janwirth commented 9 years ago

Consider the following: Line one is soft wrapped. Line numbers are omitted in goyo. When my cursor is on the word 'line' of line one and I press 'j' the cursor jumps to to the word 'line' on line two. However line two is displayed on the third row which makes me assume that when i press 'j', I will in fact go to row two, the wrapped part of line one.


line one one one one one one one one one one one one one one one one
one one one one one one one
line two two two two two two two two two two two 
 

There is a solution to this on wikia. I would submit a pull request but think the quality would not be sufficient as i don not know how you would like to integrate these bindings with goyo, if even.

junegunn commented 9 years ago

Okay, I see, thanks for the explanation. But it has never been an issue to me, which means, I don't think it needs be the default.

janwirth commented 9 years ago

Ok, thank you for your thoughts on this. Pretty much expected this already but still wanted to suggest it.