12 ms·
Hm, why do most of his files end with 10 to 15 blank lines of whitespace? Is that a thing or was he just sloppy?
by florianletsch 11y ago
Hm, why do most of his files end with 10 to 15 blank lines of whitespace? Is that a thing or was he just sloppy?
- leetNightshade 11y agoI 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.
- thinkpad20 11y agoWhat 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 :)
- OJFord 11y agoVim does by default, which he seems to use judging by the .swp files present in git..
- OJFord 11y agoVim does by default, which he seems to use judging by the .swp files present in git..
- mafuyu 11y agoIn 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.
- leetNightshade 11y agoA few examples of editors that don't: Notepad++, ATOM, Nano, etc.