mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
refactor(tools#mpv)!: change default musics_directory
BREAKING CHANGE: `~/Music` is standard on macOS and also on FreeDesktop's XDG.
This commit is contained in:
parent
2b40c524e8
commit
56b9d14e9a
@ -22,7 +22,8 @@
|
||||
" The following options can be used with this layer:
|
||||
"
|
||||
" 1. `mpv_interpreter`: set the path of `mpv`.
|
||||
" 2. `musics_directory`: set the path of directory where to store musics.
|
||||
" 2. `musics_directory`: set the path of directory where to store musics. The
|
||||
" default directory is `~/Music`
|
||||
"
|
||||
" @subsection Key bindings
|
||||
" >
|
||||
@ -36,7 +37,7 @@
|
||||
if exists('s:musics_directory')
|
||||
finish
|
||||
else
|
||||
let s:musics_directory = '~/Musics'
|
||||
let s:musics_directory = '~/Music'
|
||||
let s:mpv_interpreter = 'mpv'
|
||||
let s:loop_mode = 'random'
|
||||
let s:stop_mpv = 0
|
||||
|
@ -4573,7 +4573,8 @@ LAYER OPTIONS
|
||||
The following options can be used with this layer:
|
||||
|
||||
1. `mpv_interpreter`: set the path of `mpv`.
|
||||
2. `musics_directory`: set the path of directory where to store musics.
|
||||
2. `musics_directory`: set the path of directory where to store musics. The
|
||||
default directory is `~/Music`
|
||||
|
||||
KEY BINDINGS
|
||||
|
||||
|
@ -30,7 +30,7 @@ tools#mpv 模块默认并未启用,如果需要启用该模块,需要在配
|
||||
|
||||
## 模块选项
|
||||
|
||||
- `musics_directory`: 设置音乐存放文件夹
|
||||
- `musics_directory`: 设置音乐存放文件夹,默认的文件夹是`~/Music`。
|
||||
- `mpv_interpreter`: mpv 可执行命令路径
|
||||
- `loop_mode`: 循环模式,默认是 `random`
|
||||
|
||||
|
@ -29,7 +29,7 @@ To use this configuration layer, add it to your `~/.SpaceVim.d/init.toml`.
|
||||
|
||||
## Options
|
||||
|
||||
- `musics_directory`: the directory of musics
|
||||
- `musics_directory`: the directory of musics. By default this option is `~/Music`.
|
||||
- `mpv_interpreter`: mpv executable path
|
||||
- `loop_mode`: loop mode, default is `random`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user