How can I open vim with a particular line number at the top? February 22, 2023 by Tarik You could issue zt after opening the file, so something like: vim +500 filename -c 'normal zt'.