Ho pensato che sarebbe stato utile creare una mappatura che trasformasse la linea corrente o la linea visivamente selezionata in un banner di commenti.Come commentare su una riga di descrizione usando vim?
Qualcosa di simile a questo:
This is the description of the usage of the class
sarebbe diventato, dopo aver premuto un collegamento:
/*----------------------------------------------------*/
/* This is the description of the usage of the class */
/*----------------------------------------------------*/
Prova il plugin 'tcomment'. – kev
@kev 'tcomment' è molto bello, ma non so come rendere il commento a forma di fantasia che sembra più facile da identificare. È una buona abitudine da fare? – mko