-
Notifications
You must be signed in to change notification settings - Fork 469
/
cmus.txt
1856 lines (1311 loc) · 54.3 KB
/
cmus.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@title CMUS 1 31/01/2010 cmus
@h1 NAME
cmus - C\* Music Player
@h1 SYNOPSIS
cmus [*options*]
@h1 DESCRIPTION
cmus is a lightweight ncurses music player. It supports various output methods
by using dynamically-loaded output plugins. cmus has configurable keybindings
and can be controlled externally using *cmus-remote*(1).
@h1 OPTIONS
--listen ADDR
Listen on ADDR (UNIX socket) instead of `$CMUS_SOCKET` or
`$XDG_RUNTIME_DIR/cmus-socket`. ADDR must be a UNIX socket or
host[:port].
*WARNING*: Using host[:port] is insecure even with a password! It may be
on a LAN if you want multiple users to be able to control cmus. Never
expose cmus to the internet.
NOTE: Don't use this option to run multiple instances as the same user.
Doing so would corrupt the track metadata cache.
--plugins
List available plugins and exit.
--show-cursor
Always display the cursor. This is useful for screen readers.
--help
Display usage information and exit.
--version
Display version information and exit.
@h1 VIEWS
There are 7 views in cmus. Press keys 1-7 to change active view.
Library view (1)
Displays all tracks in the *library*. Tracks are sorted and displayed in
a tree grouped by artist/album. Artist sorting is done alphabetically.
Albums are sorted by year.
Sorted library view (2)
Displays the same content as view 1, but as a simple list automatically
sorted by user criteria.
Playlist view (3)
Displays editable playlists with optional sorting.
Play Queue view (4)
Displays upcoming tracks. These tracks are played before anything else
(i.e. the playlist or library). Once the queue is empty, playback will
resume from the last position in the library.
Browser (5)
Displays the directory browser. In this view, music from the filesystem
can be added to the library, active playlist, or queue.
Filters view (6)
Lists user-defined filters.
Settings view (7)
Lists keybindings, unbound commands and options. Remove bindings with
*D* or *del*, change bindings and variables with *enter*, and toggle
variables with *space*.
@h1 COMMAND LINE
Everything in cmus is implemented as commands which can be typed at the command line
or bound to a key. To enter command mode type *:*. To execute a command, press
*ENTER*, and to cancel, press *ESC* or *CTRL-C*. Use up/down arrows to browse
the command history. Use *TAB* to complete commands and parameters. You don't
need to type the full command name if it is unambiguous (no other commands starting
with the same characters).
Examples:
@pre
# add files, short for ':add ~/music'
:a ~/music
# change output plugin
:set output_plugin=oss
# start playing
# you could just press 'x' which is the default
# binding for this command
:player-play
# clear current view (library, playlist or play queue)
:clear
@endpre
@h1 SEARCHING
Search mode works like the command mode. To enter search mode, press */* and
type the query then press *ENTER*. Press *n* to move to the next result or *N*
for the previous one. Type *?* to search backwards.
In views 1-4 the query is matched against the artist, album and title tags. Type
*//WORDS* or *??WORDS* to search only artists/albums in view 1 and only titles
in views 2-4. If the file doesn't have tags, words are compared to the filename
excluding the path.
Searching also works in views 5-7.
@h1 PLAYLIST EDITING
@h2 Selecting Tracks
Editing commands affect the currently marked tracks. If there are no marked
tracks, the currently selected track (or selected artist/album in view 1) is
used.
To mark the selected track, press *SPACE*. Marked tracks appear with a gray
background. You can only mark tracks in the list views (2-4).
@h2 Copying Tracks Between Views
You can copy marked or selected tracks in views 1-5.
@li *a*
copy tracks to the library (1-2)
@li *y*
copy tracks to the marked playlist (3)
@li *e*
append tracks to the play queue (4)
@li *E*
prepend tracks to the play queue (4)
@h2 Moving Tracks
In views 2-4, tracks can be moved within the list. Note that moving is disabled
if the view is auto-sorted (see *lib_sort* and *pl_sort* options).
Pressing *p* moves marked tracks to the position immediately after the selected
track. *P* moves them to the position immediately before the selected track. If
there are no marked tracks, the selected track is moved down (*p*) or up (*P*).
Note that changing active filters in view 2 reloads it, losing any changes made
to the track order.
@h2 Removing Tracks
Press *D* or *delete* to remove the marked or selected tracks in the current
view (1-4). The tracks will be removed immediately from the view without asking
for confirmation. In the browser and filters views, the same keys are used to
remove a file or filter after asking for confirmation.
@h1 STATUS LINE
The right hand side of the status line (second row from the bottom, black text
on a grey background) consists of the following fields:
@pre
aaa_mode & play_sorted & play_library | volume | continue follow repeat shuffle
@endpre
NOTE: *aaa_mode* and *play_sorted* will be only displayed if *play_library* is
*true* because these are meaningless when playing the playlists (view 3).
Pressing *m*, *o*, *M*, *C*, *r* and *s* should make it easier to understand
what these fields mean.
See the CONFIGURATION OPTIONS section for more information about these options.
@h1 KEYBINDINGS
Here's list of default keybindings. To change them, see the *unbind* and *bind*
commands in the COMMANDS section.
@h2 Common: Playback
@pre
b player-next
c player-pause
x player-play
z player-prev
v player-stop
B player-next-album
Z player-prev-album
] vol +0 +1%
[ vol +1% +0
+ vol +10%
= vol +10%
} vol -0 -1%
{ vol -1% -0
- vol -10%
, seek -1m
. seek +1m
h seek -5
l seek +5
left seek -5
right seek +5
mlb_click_bar player-pause
mlb_click_bar_right player-pause
mouse_scroll_up_bar seek +5
mouse_scroll_down_bar seek -5
mouse_scroll_up_bar_right vol +1%
mouse_scroll_down_bar_right vol -1%
@endpre
@h2 Common: Setting Toggles
@pre
m toggle aaa_mode
C toggle continue
M toggle play_library
o toggle play_sorted
r toggle repeat
^R toggle repeat_current
t toggle show_remaining_time
s toggle shuffle
f toggle follow
@endpre
@h2 Common: Commands
@pre
q quit -i
^C echo Type :quit<enter> to exit cmus.
I echo {}
! push shell<space>
@endpre
@h2 Common: View/Window Navigation
@pre
1 view tree
2 view sorted
3 view playlist
4 view queue
5 view browser
6 view filters
7 view settings
mouse_scroll_up_title left-view
mouse_scroll_down_title right-view
tab win-next
^L refresh
@endpre
@h2 Common: Navigation
@pre
^Y win-scroll-up
^E win-scroll-down
^B win-page-up
^F win-page-down
^U win-half-page-up
^D win-half-page-down
k win-up
j win-down
g win-top
G win-bottom
up win-up
down win-down
home win-top
end win-bottom
page_up win-page-up
page_down win-page-down
mouse_scroll_up win-up
mouse_scroll_down win-down
@endpre
@h2 Common: Selection
@pre
i win-sel-cur
enter win-activate
mlb_click_selected win-activate
space win-toggle
D win-remove
delete win-remove
p win-mv-after
P win-mv-before
E win-add-Q
a win-add-l
y win-add-p
e win-add-q
u update-cache
U win-update-cache
@endpre
@h2 Common: Filters
@pre
/ search-start
? search-b-start
n search-next
N search-prev
F push filter<space>
L push live-filter<space>
@endpre
@h2 File Browser
@pre
space win-activate
backspace browser-up
i toggle show_hidden
u win-update
@endpre
@h1 LIBRARY VIEW SORTING
The library view (the tree-like one; not the sorted library view, which is
configured with lib_sort - see `CONFIGURATION OPTIONS`), is sorted automatically
using tags from the audio files.
Note: Albums which feature various artists (e.g. samplers or compilations) are
treated specially. If an album artist tag or the ID3v2 *TPE2* frame is set, it
will be used instead of the real artist name. Otherwise, cmus determines if the
album is a compilation (if *albumartist* or *artist* are set to *Various
Artists*, *Various*, *VA*, or *V/A*; or if *compilation* or *partofacompilation*
are set to a truthy value; or if the ID3v2 *TCMP* frame is set). If so, the
artist is named *<Various Artists>*.
Note: If the filename is a URL, the artist/album tags are set to *<Stream>*. If
it is a file, cmus sets the artist and/or album tags to *<No Name>* if they are
not already set. These names will be treated the same way as other names for
sorting.
In general, three levels of sorting are used in the library view: the artist
name, then the album, and finally the track itself.
First, cmus sorts alphanumerically by the value of the artist tag. If a special
sorting tag is available, its value will be used instead.
Next, cmus sorts by the album. Tracks are grouped by the album name, and the
groups are sorted by the date of the first track, then alphanumerically by the
name of the album. If the date header is not set, the album will be placed on
top of the list.
Finally, each album is sorted by the track *discnumber*, *tracknumber*, then
filename (not the track name).
@h1 COMMANDS
This section describes cmus' commands, which can be bound to keys and mouse
events, put in configuration files, executed in command mode, or passed to
cmus-remote.
Optional parameters are in [brackets], required parameters in <angle brackets>
and default key bindings are (parenthesized).
add [-l] [-p] [-q] [-Q] <file|dir|url|playlist>
Adds file/dir/url/playlist to the specified view or the current view.
@li -l
add to library
@li -p
add to playlist
@li -q
add play queue
@li -Q
prepend to play queue
Supported files are based on the loaded input plugins.
Supported URLs: Shoutcast (`http://`...), CDDA (`cdda://`...).
Supported playlist types: plain, .m3u, .pls.
bind [-f] <context> <key> <command>
Adds a key binding.
@li -f
overwrite existing binding
Valid contexts: common (i.e. all views), library (1-2), playlist (3),
queue (4), browser (5), filters (6)
There's one context for each view. Common is a special context on which
bound keys work in every view.
You can override specific keys in common context for a view. For example
*i* selects the current track in views 1-3 but in browser it is
overridden to toggle showing of hidden files.
When setting custom bindings in `$XDG_CONFIG_HOME/cmus/rc`, it is
recommended to use the -f option, or else bind may fail due to an
existing binding in the autosave or system-level config files.
Hint: You can press *tab* from command mode to expand contexts, keys,
and commands.
browser-up (*backspace*)
Navigates the browser view to the parent directory (5). This command
only makes sense to be bound to the *browser* key context although it's
possible to use this even if browser view is not active.
cd [directory]
Changes the current working directory. Also changes the directory
displayed in the browser view.
clear [-l] [-p] [-q]
Removes all tracks from a single view.
@li -l
clear library
@li -p
clear playlist
@li -q
clear play queue
If a view is not specified, the current view is used.
colorscheme <name>
Changes the color scheme. Color schemes are found in `/usr/share/cmus/`
or `$XDG_CONFIG_HOME/cmus/` and have the extension *.theme*.
echo <arg>...
Displays the arguments on the command line.
*{}* it is replaced with file name of the first selected track.
factivate <user-defined-filter>...
Selects and activates the given user defined filters (displayed in the
filters view). Filter names are separated by spaces. This command is
mostly useful when bound to a key to change active filters quickly. If
no arguments are provided, all filters are deactivated.
Prefix a filter name with *!* to negate it.
filter <filter-expression>
Temporarily filters a library view. The filter is not saved (use *fset*
and *factivate* for that).
fset <name>=<filter-expression>
Defines or replaces an existing filter and adds it to the filters view
(6).
help
Shows information about help files.
invert
Inverts the marking of tracks in playlist and queue views. See *mark*
and *unmark*.
live-filter <simple-filter-expression|short-filter-expression>
Like filter, but uses simple filters and shows a preview as you type. It
persists even after leaving command mode.
load [-l] <playlist>
Loads a playlist to a view.
@li -l
load to library views
If a view is not specified, the current view is used, which must be 1-2.
lqueue [NUM]
Queues NUM (default 1) random albums from the library. Also see
*tqueue*.
mark <filter-expression>
Marks tracks in playlist and queue view using a filter expression.
mute
Toggles mute for the sound output.
pl-create <name>
Creates a new playlist.
pl-delete [-a] <name>
Deletes the playlist with the given name.
-a
Deletes all playlists
pl-export <filename>
Exports the currently selected playlist. The file will be overwritten if
it exists.
pl-import [filename]
Imports a playlist into the playlist view. The argument can be omitted in
the file browser view.
pl-rename <name>
Renames the selected playlist.
player-next (*b*)
Skips to the next track.
player-next-album (*B*)
Skips to the next album. If *shuffle*=`tracks` or a playlist is active,
skips to the next track.
player-pause (*c*)
Toggles pause.
player-pause-playback
Pauses if currently playing.
player-play [filename] (*x*)
Plays the given track, or, if none is specified, [re]plays the current
track from the beginning.
player-prev (*z*)
Skips to the previous track.
player-prev-album (*Z*)
Skips to the previous album. If *shuffle*=`tracks` or a playlist is active,
skips to the previous track.
player-stop (*v*)
Stops playback.
prev-view
Goes to the previously used view.
left-view [-n]
Goes to the to view to the left of current one (e.g. view 4 -> view 3)
@li -n
no cycle back to end when reaching the first view
right-view [-n]
Goes to view to the right of current one (e.g. view 3 -> view 4).
@li -n
no cycle back to start when reaching the last view
push [text]
Enters command mode with the command line pre-set to text. Example:
bind common w push filter artist=
Text can contain spaces, which will be used as-is (e.g. trailing spaces
will be preserved). If no text is given, it defaults to a blank command
line.
This command can only be used from a keybinding.
pwd
Prints the current working directory.
quit [-i] (*q*, *:wq*)
Exits cmus.
@li -i
ask before exiting
raise-vte
Raises the virtual terminal emulator window. Only works within a X
session.
rand
Randomizes (shuffles) the tracks in the library, playlist or queue view.
refresh (*^L*)
Redraws the terminal window.
reshuffle
Reshuffles the shuffle lists for both library and playlist views.
run <command>
Runs a command for the marked tracks OR the selected one if none marked.
By default file names are appended to the command. If the command
contains *{}* it is replaced with list of filenames.
Note: In view 1 you can run a command for all files in the selected
album or artist.
save [-e] [-l] [-L] [-p] [-q] [file] (*:w*)
Saves the contents of a view to a playlist file. In extended mode (-e),
also saves track metadata.
@li -l
save library views
@li -L
save filtered library views
@li -p
save playlist view
@li -q
save queue view
If no view is specified, the current one is used.
If no filename given the old filename is used. "-" outputs to stdout
(works only remotely).
search-b-start
Enters backwards search mode. Cannot be used directly from command mode.
See *search-start*.
search-next (*n*)
If there is an active search, goes to the next match in the current
view. See *SEARCHING* above.
search-prev (*N*)
If there is an active search, goes to the previous match in the current
view. See *SEARCHING* above.
search-start
Enters search mode. Cannot be used directly from command mode.
This is similar to live-filter, except it is temporary and only selects
the current match rather than filtering the entire view.
seek [+-](<num>[mh] | [HH:]MM:SS)
Seeks to an absolute or relative position, which can be given in
seconds, minutes (m), hours (h) or HH:MM:SS format where HH: is
optional.
Seek 1 minute backward
:seek -1m
Seek 5 seconds forward
:seek +5
Seek to absolute position 1h
:seek 1h
Seek 90 seconds forward
:seek +1:30
set <option>=<value>
Sets the value of an option. See *OPTIONS*.
set <option>
Display option value. Vim compatible *set <option>?* is also
supported.
shell <command>
Executes a command via /bin/sh -c.
showbind <context> <key>
Shows a key binding.
source <filename>
Reads and executes commands from <filename>.
toggle <option>
Toggles the value of a toggle-able option (all booleans and the options
*shuffle*, *aaa_mode*, and *replaygain*).
tqueue [NUM]
Queues NUM (default 1) random tracks from the library. See also
*lqueue*.
unbind [-f] <context> <key>
Removes a key binding. Use tab to cycle through bound keys.
-f
Don't throw an error if the binding is not known
unmark
Unmarks all tracks (see *mark*).
update-cache [-f]
Updates the track metadata cache ($XDG_CONFIG_HOME/cmus/cache). By
default, only deletions or files with a changed modification time are
updated.
-f
Update all files. Same as quit, rm -f $XDG_CONFIG_HOME/cmus/cache, start cmus.
version
Prints the version information.
view <name or 1-7>
Changes the active view.
Do not use this in `$XDG_CONFIG_HOME/cmus/rc` to change the starting
view. Set the *start_view* option instead.
vol [+-]NUM[%] [[+-]NUM[%]]
Changes the volume.
If a single argument is provided, both channels are changed. Otherwise,
the first/second values are for the left/right channels respectively.
To increase or decrease volume prefix the value with *-* or *+*,
otherwise value is treated as absolute volume.
Both absolute and relative values can be given as percentage units
(suffixed with *%*) or as internal values (hardware may have volume in
range 0-31 for example).
w
See *quit*. Intended for use while in command mode.
win-activate (*enter*)
In views, 1-3 plays the selected track. In view 5 starts, the selected
file or changes to the selected directory. In view 6, activates the
selected filters. In settings view (7), changes a binding or variable.
win-add-l [-n] (*a*)
Adds the currently marked or selected track(s) (views 3-4), or the
currently selected file/directory (view 5), to the library.
Analogous to *:add -l*
-n
Don't move the selection to the next item.
win-add-p [-n] (*y*)
Adds the currently marked or selected track(s) (views 1-2, 4), or the
currently selected file or directory (view 5), to the marked playlist.
Analogous to *:add -p*
-n
Don't move the selection to the next item.
win-add-Q [-n] (*E*)
Prepends the currently marked or selected track(s) (views 1-3), or the
currently selected file or directory (view 5), to the play queue.
Analogous to *:add -Q*
-n
Don't move the selection to the next item.
win-add-q [-n] (*e*)
Adds the currently marked or selected track(s) (views 1-3), or the
currently selected file or directory (view 5), to the play queue.
Analogous to *:add -q*
-n
Don't move the selection to the next item.
win-bottom (*G*, *end*)
Goes to bottom of the current window.
win-down [NUM] (*j*, *down*)
Goes down NUM (default 1) rows in the current window.
win-half-page-down (*^D*)
Goes down half a page in the current window.
win-half-page-up (*^U*)
Goes up half a page in the current window.
win-mv-after (*p*)
Moves the marked tracks below the selected track. If no tracks are
selected, selects the previous track. If no tracks are marked, moves the
selected track up by one. This command works in the playlist and queue
views.
win-mv-before (*P*)
Moves the marked tracks above the selected track. If no tracks are
selected, selects the previous track. If no tracks are marked, moves the
selected track down by one. This command works in the playlist and queue
views.
win-next (*tab*)
Activates the next window (i.e. tree/list). Only relevant in view 1.
win-page-bottom
Goes to the bottom of the visible part of the current window.
win-page-down (*^F*, *page_down*)
Goes to down one page in the current window.
win-page-middle
Goes to the middle of the visible part of the current window.
win-page-top
Goes to the top of the visible part of the current window.
win-page-up (*^B*, *page_up*)
Goes up one page in the current window.
win-remove (*D*, *delete*)
Removes the selected entry. For tracks, no confirmation is required. For
playlists (view 3), files (view 5), filters (view 6) and bindings (view
7) user must confirm the action.
win-scroll-down (*^E*)
Scrolls the current window one row downwards.
win-scroll-up (*^Y*)
Scrolls the current window one row upwards.
win-sel-cur (*i*)
Selects the current track (position in library or playlist, not
necessarily same as the currently playing track). Works only in views
1-3, does nothing in other views.
win-toggle (*space*)
Expands albums in library view (1), marks tracks in views 2-4, sets the
marked playlist in view 3, toggles selection of a filter in view 6,
or toggles a variable's value in view 7.
win-top (*g*, *home*)
Goes to top of the current window.
win-up [NUM] (*k*, *up*)
Goes up NUM (default 1) rows in the current window.
win-update (*u*)
Checks the modification time of the files in the library, and updates
metadata for changed files. Removes non-existent files from the library.
Reloads contents of directory in the browser view.
Only works in views 1-2 and 5, does nothing in other views.
win-update-cache [-f]
Same as *update-cache*, but only for marked / selected tracks.
Only works in views 1-2, does nothing in other views.
wq
See *quit*. Intended for use from command mode.
@h1 CONFIGURATION OPTIONS
This section describes configuration options used by cmus.
These options can be changed using the *set* and *toggle* commands. Default
values are (parenthesized), and the possible values are in [brackets].
auto_expand_albums_follow, auto_expand_albums_search, auto_expand_albums_selcur (true)
Always expand an artist and select the album when following the
currently played track or performing actions such as "search" or "go to
current track". This option is tightly coupled to the show_all_tracks
option. Any "auto_expand_albums_\* = false" implies "show_all_tracks =
true".
auto_hide_playlists_panel (false)
Hide the left panel in playlist view. The panel will show as needed when
activated with win-next (*tab*).
auto_reshuffle (true)
Reshuffle a playlist when the end of a shuffled list is reached.
aaa_mode (all) [all, artist, album]
Defines what tracks should be played in the library view. Not used in
the other views.
For example, if set to *artist*, the player behaves like there were only
the files of the currently playing artist in the library.
altformat_current [`Format String`]
Alternative format string for the line displaying currently playing
track.
Note: If empty, *format_current* is used instead.
altformat_playlist [`Format String`]
Alternative format string for the list views (2-4).
Note: if empty, *format_playlist* is used instead.
altformat_title [`Format String`]
Alternative format string the for terminal title.
Note: not all terminals support changing window title.
Note: if empty, *format_title* is used instead.
altformat_trackwin [`Format String`]
Alternative format string for the tree view's (1) track window.
Note: if empty, *format_trackwin* is used instead.
block_key_paste (true)
Prevent accidental input by only accepting pasted text in the command line.
Only works on terminals which support bracketed paste.
buffer_seconds (10) [1-300]
Size of the player buffer in seconds.
color_cmdline_bg (default) [`Color`]
Command line background color.
color_cmdline_fg (default) [`Color`]
Command line foreground color.
color_cmdline_attr (default) [`Attributes`]
Command line attributes.
color_error (lightred) [`Color`]
Color of error messages displayed on the command line.
color_info (lightyellow) [`Color`]
Color of informational messages displayed on the command line.
color_separator (blue) [`Color`]
Color of the separator line between windows in view (1).
color_statusline_bg (gray) [`Color`]
Status line background color.
color_statusline_fg (black) [`Color`]
Status line foreground color.
color_statusline_attr (default) [`Attributes`]
Status line attributes.
color_statusline_progress_bg (blue) [`Color`]
Status line background color of progress bar, when enabled.
color_statusline_progress_fg (white) [`Color`]
Status line foreground color of progress bar, when enabled.
color_statusline_progress_attr (default) [`Attributes`]
Status line attributes of progress bar, when enabled.
color_titleline_bg (blue) [`Color`]
Background color of the line displaying currently playing track.
color_titleline_fg (white) [`Color`]
Foreground color of the line displaying currently playing track.
color_titleline_attr (default) [`Attributes`]
Attributes of the line displaying currently playing track.
color_win_bg (default) [`Color`]
Window background color.
color_win_cur (lightyellow) [`Color`]
Color of currently playing track.
color_win_cur_attr (default) [`Attributes`]
Currently playing track attributes.
color_win_cur_sel_bg (blue) [`Color`]
Background color of the selected row which is also the currently
playing track in active window.
color_win_cur_sel_fg (lightyellow) [`Color`]
Foreground color of the selected row which is also the currently
playing track in active window.
color_win_cur_sel_attr (default) [`Attributes`]
Attributes of the selected row which is also the currently
playing track in active window.
color_win_dir (lightblue) [`Color`]
Color of directories in browser.
color_win_fg (default) [`Color`]
Window foreground color.
color_win_attr (default) [`Attributes`]
Window attributes.
color_win_inactive_cur_sel_bg (gray) [`Color`]
Background color of the selected row which is also the currently
playing track in inactive window.
color_win_inactive_cur_sel_fg (lightyellow) [`Color`]
Foreground color of the selected row which is also the currently
playing track in inactive window.
color_win_inactive_cur_sel_attr (default) [`Attributes`]
Attributes of the selected row which is also the currently
playing track in inactive window.
color_win_inactive_sel_bg (gray) [`Color`]
Background color of selected row in inactive window.
color_win_inactive_sel_fg (black) [`Color`]