summaryrefslogtreecommitdiff
path: root/config/old/cmus/rc
blob: b73000ac98a84cbd9834af6058ba7dae583b9aac (plain)
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
# colors from solarized: http://ethanschoonover.com/solarized
# default text color
set color_win_fg=default

# overall background color
set color_win_bg=default

# command-line colors
set color_cmdline_bg=default
set color_cmdline_fg=default
set color_error=160
set color_info=136
set color_separator=240

# bottom status line
set color_statusline_bg=0
set color_statusline_fg=37

# bottom title line
set color_titleline_bg=0
set color_titleline_fg=136

# top title area
set color_win_title_bg=0
set color_win_title_fg=64
##### playing file colors ######################################################
# unselected currently playing track's text
set color_win_cur=33

# active selection for currently playing track
set color_win_cur_sel_bg=0
set color_win_cur_sel_fg=33

# inactive selection for currently playing track
set color_win_inactive_cur_sel_bg=default
set color_win_inactive_cur_sel_fg=125

##### non-playing file colors ##################################################
# active selection
set color_win_sel_bg=0
set color_win_sel_fg=166

# inactive selection
set color_win_inactive_sel_bg=default
set color_win_inactive_sel_fg=125

##### file browser view colors #################################################
# directory listing color
set color_win_dir=33

##### KEYBINDINGS #################################################

# playback

# bind common b player-next
# bind common c player-pause
# bind common x player-play
# bind common z player-prev
# bind common v player-stop
# 
# bind common ] vol +0 +1%
# bind common [ vol +1% +0
# bind common + vol +10%
# bind common = vol +10%
# bind common } vol -0 -1%
# bind common { vol -1% -0
# bind common - vol -10%
# 
bind -f common , seek -5
bind -f common . seek +5
bind -f common 0 vol +2%
bind -f common 9 vol -2%
# 
# bind common h seek -5
# bind common l seek +5
# 
# bind common left seek -5
# bind common right seek +5
# 
# bind common mlb_click_bar player-pause
# bind common mouse_scroll_up_bar seek +5
# bind common mouse_scroll_down_bar seek -5
# 
# # setting toggles
# 
# bind common m toggle aaa_mode
# bind common c toggle continue
# bind common m toggle play_library
# bind common o toggle play_sorted
# bind common r toggle repeat
# bind common ^r toggle repeat_current
# bind common t toggle show_remaining_time
# bind common s toggle shuffle
# bind common f toggle follow

# commands

unbind common q
bind -f common q quit
# bind common ^c echo type :quit<enter> to exit cmus.
# bind common i echo {}
# 
# # note: the single space at the end is intentional
# bind common ! push shell 
# 
# # view/window navigation
# 
# bind common 1 view tree
# bind common 2 view sorted
# bind common 3 view playlist
# bind common 4 view queue
# bind common 5 view browser
# bind common 6 view filters
# bind common 7 view settings
# 
# bind common mouse_scroll_up_title left-view
# bind common mouse_scroll_down_title right-view
# 
# bind common tab win-next
# 
# bind common ^l refresh
# 
# # navigation
# 
# bind common ^y win-scroll-up
# bind common ^e win-scroll-down
# bind common ^b win-page-up
# bind common ^f win-page-down
# bind common ^u win-half-page-up
# bind common ^d win-half-page-down
# 
# bind common k win-up
# bind common j win-down
# bind common g win-top
# bind common g win-bottom
# 
# bind common up win-up
# bind common down win-down
# bind common home win-top
# bind common end win-bottom
# bind common page_up win-page-up
# bind common page_down win-page-down
# 
# bind common mouse_scroll_up win-up
# bind common mouse_scroll_down win-down
# 
# # selection
# 
# bind common i win-sel-cur
# bind common enter win-activate
# bind common mlb_click_selected win-activate
# 
# bind common space win-toggle
# bind common d win-remove
# bind common delete win-remove
# bind common p win-mv-after
# bind common p win-mv-before
# 
# bind common e win-add-q
# bind common a win-add-l
# bind common y win-add-p
# bind common e win-add-q
# 
# bind common u update-cache
# bind common u win-update-cache
# 
# # filters
# 
# bind common / search-start
# bind common ? search-b-start
# bind common n search-next
# bind common n search-prev
# 
# # note: the single space at the end is intentional
# bind common f push filter 
# bind common l push live-filter 

fset 90s=date>=1990&date<2000
fset classical=genre="classical"
fset unheard=play_count=0
fset missing-tag=!stream&(artist=""|album=""|title=""|tracknumber=-1|date=-1)
fset mp3=filename="*.mp3"
fset ogg=filename="*.ogg"
fset ogg-or-mp3=ogg|mp3

# file browser
unbind common l
bind -f common l win-activate
unbind -f common h
bind -f browser h browser-up
# bind browser space win-activate
# bind browser i toggle show_hidden
# bind browser u win-update