kjnh10 / ExcelLikeVim

This is a Excel Addin that provide vim-like interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could you add a function to make all commands to receive parameters such as line number.

wiky2 opened this issue · comments

commented

If you add this function, this plugin will be more powerful.
and we can use:
n dd
this kind of commands.

commented

Do you mean a feature that keystroke can get a parameter of number like below?

press: 32G - > jump to line 32 (as normal vim)
press: 10dd - > delete 32 lines below (as normal vim)

I think this is possible, but need to define how each command to handle.
Now I'm thinking to implement 'G' of the first example.

commented

Or you can press : to launch command line mode.
There you can call any macro functions and also pass parameters.

Also in this case, there is need to define how each functions handle paramaters in each function definition.

commented

Do you mean a feature that keystroke can get a parameter of number like below?

press: 32G - > jump to line 32 (as normal vim)
press: 10dd - > delete 32 lines below (as normal vim)

I think this is possible, but need to define how each command to handle.
Now I'm thinking to implement 'G' of the first example.

Yes. That's what I mean.

commented

@wiky2
I have implemented G feature on the dev branch.
(you can try with only check-outing to dev branch in your installation folder.)
Could you try it?

And if you have any other keystrokes like 'dd', please list up.