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

sorry for a little offtop, but I want to know how do You deal with really long files (e.g. css) in vim? I used to work with vim, but navigating in long files caused 'jumpy' scroll effect which drives me crazy - any suggestions?

btw. this theme is really nice :)



Some screencasts on navigating in Vim: http://vimcasts.org/categories/navigating-a-document/


Not sure if you're referring to performance, but if you are, then...

Two things that work well for me are disabling line highlighting and cursor line.

:set nocursorline

:syntax off

Disabling relative line numbers apparently helps too. (No effect for me though.)




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: