Re:Vy – A Vim-like in Python made from scratch
by leetNightshade on Wednesday September 02, 2015 @12:21PM
(#10160295)
I don't think it's "common", but people do it so they can scroll to the last line and have it appear near the top of the page. It's a matter of personal preference. Some editors allow you to scroll that far without the extra lines, many don't.
[ Parent
| on HN ]
Re:Vy – A Vim-like in Python made from scratch
by thinkpad20 on Wednesday September 02, 2015 @01:43PM
(#10160832)
What editors don't do that? I'm only familiar with Emacs and Sublime which do. I'd hate to use an editor that didn't. Hopefully he added that functionality to Vy :)
Re:Vy – A Vim-like in Python made from scratch
by mafuyu on Wednesday September 02, 2015 @05:06PM
(#10161892)
In vim, j and k will only move the cursor between lines that exist, and the screen will follow the cursor. You can scroll the screen past the end of the file using ctrl+e and ctrl+y, but it's annoying.
Re:Vy – A Vim-like in Python made from scratch
by OJFord on Wednesday September 02, 2015 @03:38PM
(#10161452)
Vim does by default, which he seems to use judging by the .swp files present in git..
Re:Vy – A Vim-like in Python made from scratch
by ianff on Wednesday September 02, 2015 @04:12PM
(#10161633)
.swp files in git is further evidence of sloppiness though.
Re:Vy – A Vim-like in Python made from scratch
by OJFord on Friday September 04, 2015 @05:56PM
(#10173029)
Yes, I absolutely agree. I'm sure I've been guilty of it (I'd rid them if I noticed of course) but it's a pretty sloppy-looking project. Not holding my breath for it to replace vim.
Re:Vy – A Vim-like in Python made from scratch
by leetNightshade on Wednesday September 02, 2015 @06:39PM
(#10162381)
A few examples of editors that don't: Notepad++, ATOM, Nano, etc.