Using /, I want to be able to search for (and jump to) the beginning and end of the file I am in.


:h start-of-file and :h end-of-file

Patterns are, respectively, \%^ and \%$.


/\%^I am on first line

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.