Loading ...
Sorry, an error occurred while loading the content.

61288the perl x operator ( feature request ? )

Expand Messages
  • Marc Chantreux
    Aug 30 1:35 PM
      hi all,

      is there a way to multiply a string by a number as the perl x operator
      do ? i haven't found it on the vim doc ( using vim7).

      in perl :

      $x = 'ab' x 4
      $x == 'abababab'

      it could be usefull to write something like :


      or :

      let indent = ' ' x &sw

      in the case that there is no way to do it in vim, this is a feature
      request ! :)


    • Show all 6 messages in this topic