Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

​:%normal A;​ not work #195

Open
ghost opened this issue Sep 2, 2017 · 2 comments
Open

​:%normal A;​ not work #195

ghost opened this issue Sep 2, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 2, 2017

seems a lot normal commands not work

@hultberg
Copy link
Collaborator

hultberg commented Oct 1, 2017

Hello @XinhaiWang

%normal is not implemented, and as I'm unable to find any documentation, could you please provide some for %normal ?

@onoderat
Copy link

Hello hultberg,

The normal command is a very powerful command to repeat normal mode actions over a range.

For instance, %normal A; on a file like

var foo = 1
var bar = 'a'
var baz = 'z'

will produce

var foo = 1;
var bar = 'a';
var baz = 'z';

I can imagine that this functionality is difficult to write as it involves keeping track of what happened in normal mode. I am not quite familiar with coffee script but if you need help in better understanding this command, please let me know.

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

No branches or pull requests

2 participants