Ce qui suit en mode commande (gvim)Tri du point courant à la fin du fichier dans gvim?
:.,G!sort
résultats dans
E464: Ambiguous use of user defined-command
:help E464
Ambiguous use of user-defined command There are two user-defined commands with a common name prefix, and you used Command-line completion to execute one of them. |user-cmd-ambiguous| Example: > :command MyCommand1 echo "one" :command MyCommand2 echo "two" :MyCommand Not an editor command
J'ai regardé cela pour un peu de temps quelqu'un peut jeter un os ma façon ou d'offrir un moyen de le faire sans recourir au mode visuel?
Est-ce que vous voyez quelque chose de logiquement incorrect dans ma tentative? – ojblass
Voir la réponse de John Kugelman. :-) –
Riddle moi ce Batman: comment fait-on "! {Motion} {filter}"? Aucun de ces travaux:! Gsort ...! G, trier ...! G tri –