Julius Hamilton <julkh...@gmail.com> wrote: > I can jump to the beginning of some text on a line that begins with > whitespace with v, w, h, d. Is there a single command to delete all initial > whitespace on a line?
I'd typically do that in either of two ways: : {range} s/^[ TAB]*// With a {range} like ".", ".+2", "1,.", ".,$" or "'a,'e" (my standard begin and end range marks). Or without using ex mode commands "^" to jumpt to first non-whitespace on the line and then "d0" to delete to first column. > I then wanted to jump over a few words to the next number (in brackets). Is > there any command to the effect of "find the next number"? Save search pattern then use next: /[0-9]/ n > Then I wanted to say: take this word and the next two words, and send them > down 3 newlines. Would there be a way to do that? I'm unclear in particular what this is asking for. Maybe "d3w3jp" ? Elijah -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/4FN1Td0cb7zfYm%40panix5.panix.com.