Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

dot command becomes useless when autoclosing #39

Open
flavius opened this issue Sep 10, 2012 · 2 comments
Open

dot command becomes useless when autoclosing #39

flavius opened this issue Sep 10, 2012 · 2 comments

Comments

@flavius
Copy link

flavius commented Sep 10, 2012

Sample file:

int f1(a1);
int f1(a1);

press A<backspace>{<CR><ESC> on the first line, you get:

int f1(a1){

}
int f1(a1);

2j. will make it:

int f1(a1){

}

int f1(a1);

That is, the only modification done by . is the added empty line on the second last line of the file.

@blueyed
Copy link
Contributor

blueyed commented Oct 1, 2012

Works for me, although I am not getting the additional newline in the first place.

I end up with:

int f1(a1){
}
int f1(a1){
}

@blueyed
Copy link
Contributor

blueyed commented Feb 21, 2013

I have just ran into a similar issue (quotes in a smarty file).

While I still cannot reproduce the test case, I think that in general, using tpope's repeat.vim would help: https://github.com/tpope/vim-repeat

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants