Instead of using w to jump to the beginning of the next word or using e to jump to the end of the next word I want to have a shortcut which jumps to the next whitespace between words.
f Space will work. Generally, f + <char> allows you to jump on the next character on the same line.
Alternatively referred to as spacing or whitespace, white space is any section of a document that is unused or space around an object. White spaces help separate paragraphs of text, graphics, and other portions of a document, and helps a document look less crowded.
Press 0 to go to the beginning of a line, or ^ to go to the first non-blank character in a line.
Whitespace is any string of text composed only of spaces, tabs or line breaks (to be precise, CRLF sequences, carriage returns or line feeds). These characters allow you to format your code in a way that will make it easily readable by yourself and other people.
:help f
and :help t
for that./[[:space:]]
or /\s
if you want to also match tab.Following a suggested edit that was rejected, here is how to do it backwards (jump to previous space):
:help F
and :help T
for that.?[[:space:]]
or ?\s
if you want to also match tab.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With