This commit is contained in:
Henrik Bakken
2022-08-12 23:45:45 +02:00
parent 6a651b5000
commit 1064470cb5
3 changed files with 103 additions and 113 deletions
+40 -1
View File
@@ -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"
+61 -106
View File
@@ -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
volume_down_1 = < remove_dead_entries = Y
volume_up_1 = > volume_down_1 = <
volume_down_5 = , volume_up_1 = >
volume_up_5 = . volume_down_5 = ,
seek_forward = RIGHT volume_up_5 = .
seek_backward = LEFT seek_forward = l RIGHT
seek_forward_fast = ] seek_backward = h LEFT
seek_backward_fast = [ seek_forward_fast = ]
hide_message = I seek_backward_fast = [
refresh = ^r hide_message = I
reload = r refresh = ^l
toggle_hidden_files = ^h reload = r
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
cancel = ^x ESCAPE go_up = U
go_url = o next_search = n
go_to_music_directory = m cancel = ^x ESCAPE
theme_menu = V go_url = o
mark_start = '
mark_end = "
plist_move_up =
plist_move_down =
plist_add_stream =
# div crap plist_add_stream = ^u
# history_up = UP toggle_mixer = x
# history_down = DOWN # for softmixer
# toggle_softmixer = M toggle_softmixer = M
# playlist_full_paths = history_up = UP
# remove_dead_entries = Y history_down = DOWN
# next_search = n delete_to_start = ^u
# mark_start = ' delete_to_end = ^k
# mark_end = " theme_menu = V
# toggle_mixer = x
# toggle_equalizer = E toggle_equalizer = E
# equalizer_refresh = e equalizer_refresh = e
# clear_queue = Z equalizer_prev =
# delete_to_start = ^u equalizer_next =
# delete_to_end = ^k toggle_make_mono =
# equalizer_prev = show_lyrics =
# equalizer_next = enqueue_file =
# toggle_make_mono = clear_queue = Z
# show_lyrics =
# enqueue_file = exec_command1 = F1
# exec_command2 = F2
# exec_command1 = F1 exec_command3 = F3
# exec_command2 = F2 exec_command4 = F4
# exec_command3 = F3 exec_command5 = F5
# exec_command4 = F4 exec_command6 = F6
# exec_command5 = F5 exec_command7 = F7
# exec_command6 = F6 exec_command8 = F8
# exec_command7 = F7 exec_command9 = F9
# exec_command8 = F8 exec_command10 = F10
# 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
View File
@@ -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'}})