Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any online service to translate Vim commands to human readable form?

Tags:

vim

vi

I found Vimmish: http://dira.ro/2009/05/07/vimmish-vim-translator

A tool that translates Vim command sequences into human readable form:

Input:

iDon't know vim :(.<ESC>^2WBc2wbetter now<ESC><RIGHT>Da.<ESC>II can understan<ESC><RIGHT>~dE

Output:

                 i => insert before cursor:
Don't know vim :(. => type Don't know vim :(.
             <ESC> => go to normal mode
                 ^ => move to the begining of the line (not blank character)
                2W => move to the begining of the next space-separated word, 2 times
                 B => move backwards one space-separated-word
               c2w => change to the begining of the next word, 2 times
        better now => type better now
             <ESC> => go to normal mode
           <RIGHT> => move one character to the right
                 D => delete the rest of the current line
                 a => append after cursor:
                 . => type .
             <ESC> => go to normal mode
                 I => insert to the begining of the current line:
   I can understan => type I can understan
             <ESC> => go to normal mode
           <RIGHT> => move one character to the right
                 ~ => change character case
                dE => delete to the end of the next space-separated-word

It is programmed with Ruby.

¿Is there any online version of it, or something similar?

like image 959
Sebastián Grignoli Avatar asked Mar 09 '12 22:03

Sebastián Grignoli


1 Answers

and here it is: https://evangeneer.net/vim2human/#iDon't know vim :(.^2WBc2wbetter nowDa.II can understan~dE you can POST a vin command to https://evangeneer.net/vim2human/ to get the text/plain version

like image 75
Mathieu Avatar answered Oct 20 '22 16:10

Mathieu