Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Vim takes me to the first character in the line (the first tab), but displays the cursor on the last gridsquare the tab's width covers.



If you have "set list" to make non-space whitespace visible, it'll go to the leftmost position. I did it long ago along with "set listchars=trail:.,tab:>-" so I can see not only where tabs are, but also their size/alignment without causing the text to shift.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: