Есть ли онлайн-сервис для перевода команд Vim в удобочитаемую форму? - PullRequest
8 голосов
/ 10 марта 2012

Я нашел Виммиша: http://dira.ro/2009/05/07/vimmish-vim-translator

Инструмент, который переводит последовательности команд Vim в удобочитаемую форму:

Введите:

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

Выход:

                 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

Он запрограммирован на Ruby.

¿Есть ли онлайн-версия или что-то подобное?

1 Ответ

1 голос
/ 09 мая 2012

и вот оно: https://evangeneer.net/vim2human/#iDon't знаю vim: (. ^ 2WBc2wbetter nowDa.II может понять ~ dE Вы можете отправить команду vin на https://evangeneer.net/vim2human/, чтобы получить текстовую / простую версию

...