ex-mode icon indicating copy to clipboard operation
ex-mode copied to clipboard

​:%normal A;​ not work

Open ghost opened this issue 7 years ago • 2 comments

seems a lot normal commands not work

ghost avatar Sep 02 '17 14:09 ghost

Hello @XinhaiWang

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

hultberg avatar Oct 01 '17 13:10 hultberg

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.

onoderat avatar Jul 22 '18 21:07 onoderat