Sunday, April 18, 2021

Re: Some basic Vim commands

> Is there a single command to delete all initial whitespace on a line?

    :left<CR>

> Is there any command to the effect of "find the next number"?

    /\d<CR>

> take this word and the next two words, and send them down 3 newlines.

This one is unclear. Do you want to create a new line with just those two words? Do you want to insert them in an existing line? Etc. 

--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/a59af97a-cc56-4593-9479-e023e8bd3cd3n%40googlegroups.com.

No comments:

Post a Comment