vimsplain icon indicating copy to clipboard operation
vimsplain copied to clipboard

command mode not implemented

Open renxida opened this issue 7 years ago • 6 comments

renxida avatar Nov 15 '18 01:11 renxida

I'm not sure what you mean by "command mode not implemented". Usually command mode is understood as normal mode, and that is certainly implemented. Does it not work?

pafcu avatar Nov 16 '18 17:11 pafcu

sorry. I don't know shit about vim.

I meant to say

I would like vimsplain to explain keypress sequences like :wq

:%s/a/b/gc

Things that start with a colon.

renxida avatar Nov 19 '18 16:11 renxida

Those should work, and the fact that they don't is actually a bug.

pafcu avatar Nov 19 '18 18:11 pafcu

aw okay. I'm looking forward to that bugfix.

btw, awesome project. I really appreciate it. I get difficult-to-understand vimcommands from stackoverflow all the time, and vimsplain has already helped me twice.

It would be a glorious day when vimsplain becomes the vim equivalent of http://explainshell.com

renxida avatar Nov 19 '18 18:11 renxida

Don't look too much forward to it. I haven't touched the code in 8 years, and probably won't have much time to look at it.

pafcu avatar Nov 19 '18 19:11 pafcu

Here's the error I get when I enter anything with :

Traceback (most recent call last):
  File "./vimsplain.py", line 319, in <module>
    matched, explanation, instr, state = parse(instr, commands, state)
  File "./vimsplain.py", line 174, in parse
    raise ValueError
ValueError

EvansJahja avatar Dec 10 '19 05:12 EvansJahja