This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
17
A useful tweak and a question about using repeat `.`
Post Body
I found this recently and has been useful, it returns the cursor to the original location after using repeat last action .
:
nmap . .`[
On to the question: Often times I find myself running multiple repeats on every line (e.g. j.j.j.j.j.j.
) and feels like this could be simplified. I use blockwise visual mode but it's not as flexible as I'd like (I usually only use it for adding stuff to the ends of the lines).
Should I be looking into macros or elsewhere?
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 12 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/vim/comment...