mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 12:50:04 +08:00
56b9d14e9a
BREAKING CHANGE: `~/Music` is standard on macOS and also on FreeDesktop's XDG.
1.0 KiB
1.0 KiB
title | description |
---|---|
SpaceVim tools#mpv layer | This layer provides mpv integration for SpaceVim |
SpaceVim Layers: tools#mpv
Description
This layer provides mpv integration for SpaceVim.
Install
To use this configuration layer, add it to your ~/.SpaceVim.d/init.toml
.
[[layers]]
name = "tools#mpv"
Options
musics_directory
: the directory of musics. By default this option is~/Music
.mpv_interpreter
: mpv executable pathloop_mode
: loop mode, default israndom
example:
[[layers]]
name = 'tools#mpv'
mpv_interpreter = 'D:\Program Files\mpv\mpv.exe'
musics_directory = 'F:\other\musics'
Key bindings
Key Binding | Description |
---|---|
SPC m m l |
fuzzy find musics |
SPC m m n |
next musics |
SPC m m s |
stop mpv |