cmus
uses a file called autosave
(~/.config/cmus/autosave
) to store configuration settings. This file is loaded every time cmus is launched. Settings changed during a session will be written to autosave
on exit. This can make changing settings a bit finicky. A few times I’ve accidentally changed a setting by pressing the wrong hotkey, and then not been able to change it back. There is another file called rc
(~/.config/cmus/rc
) which can store persistent settings. These settings are loaded after autosave
and will not be overwritten on exit.
In my cmus rc
I only have a few settings:
set aaa_mode=all
- play all tracks, alternativelyartist
oralbum
for all songs in the current artist or album.set stop_after_queue=true
- after the play queue has finished, stop playingset continue=true
- Play the next song automaticallybind -f common q quit
- rebindq
to not ask for confirmation on exitunbind -f common C
- unbindC
, which normally toggles playing the next song automatically. I never want to disable continuous mode.
All settings can be found in the cmus manual .
The rest is colour settings:
set color_separator=white
- separator colour between artist and track view in tree viewset color_statusline_bg=gray
- statusline backgroundset color_statusline_fg=black
- statusline foregroundset color_win_title_bg=gray
- background of window titleset color_win_title_fg=black
- foreground of window titleset color_titleline_bg=default
- background of currently playing trackset color_titleline_fg=white
- foreground of currently playing trackset color_win_sel_bg=gray
- background of selected row when not currently playingset color_win_sel_fg=black
- foreground of selected row when not currently playingset color_win_inactive_sel_bg=darkgray
- background of selected row when not in that window and not currently playingset color_win_inactive_sel_fg=black
- foreground of selected row when not in that window and not currently playingset color_win_cur_sel_bg=gray
- background of currently playing track when selectedset color_win_cur_sel_fg=black
- foreground of currently playing track when selectedset color_win_inactive_cur_sel_bg=darkgray
- background of currently playing track when row selected but not in that windowset color_win_inactive_cur_sel_fg=black
- foreground of currently playing track when row selected but not in that windowset color_win_cur=green
- text colour of currently playing track when not selected