Skip to content

Starter configs

pls uses simple YAML-based config files. This makes it easy to

  • check these configs into VCS to ensure your teammates can enjoy them
  • back them up with the rest of your dotfiles
  • share them with others to help them get started

This page consists of some configs to get you started. If you have a config that you'd like to share with others, please share with us.

Rust

pls being a Rust project, comes with the configuration for Rust projects baked-in.

Python

If you build Python projects using Pipenv or Poetry, this config is for you.

icons:
python: "" # nf-seti-python
specs:
- pattern: \.py$
icon: python
style: rgb(255,212,59)
- pattern: requirements.*\.txt$
icon: lock
- pattern: ^(pyproject\.toml|Pipfile)$
icon: package
- pattern: ^poetry\.lock$
icon: lock
importance: -1
collapse:
name: pyproject.toml
- pattern: ^Pipfile.lock$
icon: lock
importance: -1
collapse:
name: Pipfile

Web development

If you build web applications without any of the major JavaScript frameworks, this config is for you.

icons:
html: "" # nf-seti-html
css: "" # nf-seti-css
sass: "" # nf-seti-sass
less: "" # nf-seti-less
specs:
- pattern: \.x?html?$
icon: html
style: rgb(255,212,59)
- pattern: \.s[ac]ss$
icon: sass
style: rgb(255,212,59)
- pattern: \.less$
icon: less
style: rgb(255,212,59)
- pattern: \.css$
icon: css
style: rgb(79,192,141)
collapse:
ext: scss

JavaScript/TypeScript

If you build JavaScript/TypeScript projects, this config is for you. It supports npm and pnpm as package managers, and Vue and React frameworks as well. If you use JavaScript for frontend development, you should also inherit the web dev config above.

icons:
javascript: "󰌞" # nf-md-language_javascript
typescript: "󰛦" # nf-md-language_typescript
vue: "" # nf-seti-vue
react: "" # nf-seti-react
specs:
- pattern: \.ts$
icon: typescript
style: rgb(49,120,198)
- pattern: \.(c|m)?js$
icon: javascript
style: rgb(247,223,30)
collapse:
ext: ts
- pattern: \.vue$
icon: vue
style: rgb(79,192,141)
- pattern: \.(j|t)sx$
icon: react
style: rgb(97,218,251)
- pattern: ^package-lock\.json$
icon: package
- pattern: ^(pnpm-lock.yaml|package-lock.json)$
icon: lock
importance: -1
collapse:
name: package.json