mocp
This commit is contained in:
+40
-1
@@ -1,3 +1,42 @@
|
|||||||
ReadTags = no
|
ReadTags = no
|
||||||
Theme = manjaro
|
|
||||||
Keymap = keymap
|
Keymap = keymap
|
||||||
|
Sort = FileName
|
||||||
|
ShowStreamErrors = no
|
||||||
|
Mp3IgnoreCRCErrors = yes
|
||||||
|
Repeat = no
|
||||||
|
Shuffle = no
|
||||||
|
AutoNext = yes
|
||||||
|
FormatString = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)"
|
||||||
|
OutputBuffer = 2048
|
||||||
|
InputBuffer = 512
|
||||||
|
Prebuffering = 64
|
||||||
|
SoundDriver = JACK:ALSA:OSS
|
||||||
|
JackOutLeft = "alsa_pcm:playback_1"
|
||||||
|
JackOutRight = "alsa_pcm:playback_2"
|
||||||
|
OSSDevice = /dev/dsp
|
||||||
|
OSSMixerDevice = /dev/mixer
|
||||||
|
OSSMixerChannel1 = pcm
|
||||||
|
OSSMixerChannel2 = master
|
||||||
|
AlsaMixer1 = PCM
|
||||||
|
AlsaMixer2 = Master
|
||||||
|
AlsaDevice = default
|
||||||
|
ShowHiddenFiles = no
|
||||||
|
StartInMusicDir = no
|
||||||
|
HideFileExtension = no
|
||||||
|
ShowFormat = yes
|
||||||
|
ShowTime = IfAvailable
|
||||||
|
XTerms = xterm
|
||||||
|
XTerms += xterm-colour:xterm-color
|
||||||
|
XTerms += xterm-256colour:xterm-256color
|
||||||
|
XTerms += rxvt:rxvt-unicode
|
||||||
|
XTerms += rxvt-unicode-256colour:rxvt-unicode-256color
|
||||||
|
XTerms += eterm
|
||||||
|
Theme = transparent-background
|
||||||
|
UseMmap = no
|
||||||
|
SavePlaylist = yes
|
||||||
|
SyncPlaylist = yes
|
||||||
|
ASCIILines = no
|
||||||
|
TagsCacheSize = 256
|
||||||
|
FollowPlayedFile = yes
|
||||||
|
CanStartInPlaylist = yes
|
||||||
|
OnSongChange = "/usr/lib/lastfmsubmitd/lastfmsubmit --artist %a --title %t --length %d --album %b"
|
||||||
|
|||||||
+48
-93
@@ -1,63 +1,22 @@
|
|||||||
# Example keymap file
|
go = ENTER
|
||||||
# To define your own keys for MOC commands, create a keymap file in the ~/.moc/
|
|
||||||
# directory and add options Keymap = FILE in ~/.moc/config
|
|
||||||
#
|
|
||||||
# The format of this file is:
|
|
||||||
# Lines beginning with # are comments.
|
|
||||||
# Blank lines are ignored.
|
|
||||||
# Every other line is expected to be in format:
|
|
||||||
#
|
|
||||||
# COMMAND = [KEY ...]
|
|
||||||
#
|
|
||||||
# The key can be:
|
|
||||||
# - just a char, like i, L, ", *
|
|
||||||
# - CTRL-KEY sequence: ^k (CTRL-k), ^4
|
|
||||||
# - ALT-KEY (meta sequence): M-j (ALT-j), M-%
|
|
||||||
# - Special keys:
|
|
||||||
# DOWN
|
|
||||||
# UP
|
|
||||||
# LEFT
|
|
||||||
# RIGHT
|
|
||||||
# HOME
|
|
||||||
# BACKSPACE
|
|
||||||
# DEL
|
|
||||||
# INS
|
|
||||||
# ENTER
|
|
||||||
# PAGE_UP
|
|
||||||
# PAGE_DOWN
|
|
||||||
# TAB
|
|
||||||
# END
|
|
||||||
# KEYPAD_CENTER
|
|
||||||
# SPACE
|
|
||||||
# ESCAPE
|
|
||||||
# F1 - F12
|
|
||||||
#
|
|
||||||
# Maximum number of keys for one command is 5.
|
|
||||||
#
|
|
||||||
# Omitting the key for a command will disassociate the key from the command.
|
|
||||||
#
|
|
||||||
# Default key configuration for MOC (and a list of all available commands):
|
|
||||||
|
|
||||||
go = ENTER l
|
|
||||||
go_up = h
|
|
||||||
menu_down = j DOWN
|
menu_down = j DOWN
|
||||||
menu_up = k UP
|
menu_up = k UP
|
||||||
menu_page_down = ^f ^d PAGE_DOWN
|
menu_page_down = ^f PAGE_DOWN
|
||||||
menu_page_up = ^b ^u PAGE_UP
|
menu_page_up = ^b PAGE_UP
|
||||||
menu_first_item = J HOME
|
menu_first_item = J HOME
|
||||||
menu_last_item = K END
|
menu_last_item = K END
|
||||||
next = L
|
|
||||||
previous = H
|
|
||||||
quit_client = q
|
quit_client = q
|
||||||
quit = Q
|
quit = Q
|
||||||
stop = s
|
stop = s
|
||||||
|
next = f
|
||||||
|
previous = b
|
||||||
pause = SPACE
|
pause = SPACE
|
||||||
toggle_read_tags = T
|
toggle_read_tags = T
|
||||||
toggle_shuffle = S
|
toggle_shuffle = S
|
||||||
toggle_repeat = R
|
toggle_repeat = R
|
||||||
toggle_auto_next = X
|
toggle_auto_next = X
|
||||||
toggle_menu = TAB
|
toggle_menu = ^W
|
||||||
toggle_layout = ^l
|
toggle_layout = L
|
||||||
add_file = a
|
add_file = a
|
||||||
add_directory = A
|
add_directory = A
|
||||||
|
|
||||||
@@ -66,63 +25,65 @@ delete_from_playlist = d
|
|||||||
save_playlist = w
|
save_playlist = w
|
||||||
go_to_playing_file = g
|
go_to_playing_file = g
|
||||||
go_to_a_directory = G
|
go_to_a_directory = G
|
||||||
|
playlist_full_paths =
|
||||||
|
plist_move_up = ^p
|
||||||
|
plist_move_down = ^n
|
||||||
|
|
||||||
|
remove_dead_entries = Y
|
||||||
volume_down_1 = <
|
volume_down_1 = <
|
||||||
volume_up_1 = >
|
volume_up_1 = >
|
||||||
volume_down_5 = ,
|
volume_down_5 = ,
|
||||||
volume_up_5 = .
|
volume_up_5 = .
|
||||||
seek_forward = RIGHT
|
seek_forward = l RIGHT
|
||||||
seek_backward = LEFT
|
seek_backward = h LEFT
|
||||||
seek_forward_fast = ]
|
seek_forward_fast = ]
|
||||||
seek_backward_fast = [
|
seek_backward_fast = [
|
||||||
hide_message = I
|
hide_message = I
|
||||||
refresh = ^r
|
refresh = ^l
|
||||||
reload = r
|
reload = r
|
||||||
toggle_hidden_files = ^h
|
toggle_hidden_files = H
|
||||||
|
go_to_music_directory = m
|
||||||
search_menu = /
|
search_menu = /
|
||||||
help = ?
|
help = ?
|
||||||
toggle_show_time = t
|
toggle_show_time = t
|
||||||
toggle_show_format = F
|
toggle_show_format = F
|
||||||
|
go_up = U
|
||||||
|
next_search = n
|
||||||
cancel = ^x ESCAPE
|
cancel = ^x ESCAPE
|
||||||
go_url = o
|
go_url = o
|
||||||
go_to_music_directory = m
|
mark_start = '
|
||||||
|
mark_end = "
|
||||||
|
|
||||||
|
|
||||||
|
plist_add_stream = ^u
|
||||||
|
toggle_mixer = x
|
||||||
|
# for softmixer
|
||||||
|
toggle_softmixer = M
|
||||||
|
history_up = UP
|
||||||
|
history_down = DOWN
|
||||||
|
delete_to_start = ^u
|
||||||
|
delete_to_end = ^k
|
||||||
theme_menu = V
|
theme_menu = V
|
||||||
|
|
||||||
plist_move_up =
|
toggle_equalizer = E
|
||||||
plist_move_down =
|
equalizer_refresh = e
|
||||||
plist_add_stream =
|
equalizer_prev =
|
||||||
|
equalizer_next =
|
||||||
|
toggle_make_mono =
|
||||||
|
show_lyrics =
|
||||||
|
enqueue_file =
|
||||||
|
clear_queue = Z
|
||||||
|
|
||||||
# div crap
|
exec_command1 = F1
|
||||||
# history_up = UP
|
exec_command2 = F2
|
||||||
# history_down = DOWN
|
exec_command3 = F3
|
||||||
# toggle_softmixer = M
|
exec_command4 = F4
|
||||||
# playlist_full_paths =
|
exec_command5 = F5
|
||||||
# remove_dead_entries = Y
|
exec_command6 = F6
|
||||||
# next_search = n
|
exec_command7 = F7
|
||||||
# mark_start = '
|
exec_command8 = F8
|
||||||
# mark_end = "
|
exec_command9 = F9
|
||||||
# toggle_mixer = x
|
exec_command10 = F10
|
||||||
# toggle_equalizer = E
|
|
||||||
# equalizer_refresh = e
|
|
||||||
# clear_queue = Z
|
|
||||||
# delete_to_start = ^u
|
|
||||||
# delete_to_end = ^k
|
|
||||||
# equalizer_prev =
|
|
||||||
# equalizer_next =
|
|
||||||
# toggle_make_mono =
|
|
||||||
# show_lyrics =
|
|
||||||
# enqueue_file =
|
|
||||||
#
|
|
||||||
# exec_command1 = F1
|
|
||||||
# exec_command2 = F2
|
|
||||||
# exec_command3 = F3
|
|
||||||
# exec_command4 = F4
|
|
||||||
# exec_command5 = F5
|
|
||||||
# exec_command6 = F6
|
|
||||||
# exec_command7 = F7
|
|
||||||
# exec_command8 = F8
|
|
||||||
# exec_command9 = F9
|
|
||||||
# exec_command10 = F10
|
|
||||||
|
|
||||||
# Key bindings for directories: defaults are Shift-number
|
# Key bindings for directories: defaults are Shift-number
|
||||||
# shift 1 = ! = Fastdir1
|
# shift 1 = ! = Fastdir1
|
||||||
@@ -146,9 +107,3 @@ volume_60 = M-6
|
|||||||
volume_70 = M-7
|
volume_70 = M-7
|
||||||
volume_80 = M-8
|
volume_80 = M-8
|
||||||
volume_90 = M-9
|
volume_90 = M-9
|
||||||
|
|
||||||
# The following commands are available but not assigned to any keys by
|
|
||||||
# default:
|
|
||||||
#
|
|
||||||
# toggle_percent Switch on/off play progress bar time percentage
|
|
||||||
#
|
|
||||||
|
|||||||
+2
-6
@@ -232,11 +232,11 @@ require("packer").startup {
|
|||||||
noremap = true,
|
noremap = true,
|
||||||
buffer = true,
|
buffer = true,
|
||||||
|
|
||||||
["n <M-.>"] = {
|
["n <M-,>"] = {
|
||||||
expr = true,
|
expr = true,
|
||||||
[[&diff ? "]c" : "<cmd>lua require('gitsigns.actions').next_hunk()<cr>"]]
|
[[&diff ? "]c" : "<cmd>lua require('gitsigns.actions').next_hunk()<cr>"]]
|
||||||
},
|
},
|
||||||
["n <M-,>"] = {
|
["n <M-.>"] = {
|
||||||
expr = true,
|
expr = true,
|
||||||
[[&diff ? "[c" : "<cmd>lua require('gitsigns.actions').prev_hunk()<cr>"]]
|
[[&diff ? "[c" : "<cmd>lua require('gitsigns.actions').prev_hunk()<cr>"]]
|
||||||
},
|
},
|
||||||
@@ -561,10 +561,6 @@ require("packer").startup {
|
|||||||
['<C-Space>'] = cmp.mapping.complete()
|
['<C-Space>'] = cmp.mapping.complete()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
cmp.setup.cmdline('/', {
|
|
||||||
mapping = cmp.mapping.preset.cmdline(),
|
|
||||||
sources = {{name = 'buffer'}}
|
|
||||||
})
|
|
||||||
cmp.setup.cmdline(':', {
|
cmp.setup.cmdline(':', {
|
||||||
mapping = cmp.mapping.preset.cmdline(),
|
mapping = cmp.mapping.preset.cmdline(),
|
||||||
sources = cmp.config.sources({{name = 'path'}}, {{name = 'cmdline'}})
|
sources = cmp.config.sources({{name = 'path'}}, {{name = 'cmdline'}})
|
||||||
|
|||||||
Reference in New Issue
Block a user