Skip to content

Create multiple files using shell expansion syntax #195

Open
@FichteFoll

Description

@FichteFoll

Inserting a file named {home,about}.tsx could create two files at once.
Full syntax:

  • choice {a,b}.txtchoice a.txt, choice b.txt
  • file {1..3}.txtfile 1.txt, file 2.txt, file 3.txt
  • file {a}.txtfile {a}.txt

This behavior should be activated using an argument and can thus be customized when creating a key binding to still allow creating files with the raw input. If we're still doing settings, we could also allow specifying the default behavior there.

via @mauroreisvieira on Discord

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions