diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 16f142f..92f8add 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -411,7 +411,11 @@ #[espeak] # summary = "*" -# script = dunst_espeak.sh +# script = /home/soeren.poschmann/.config/dunst/dunst_espeak.sh + +[beep] + summary = "*" + script = /home/soeren.poschmann/scripts/notify-beep.sh #[script-test] # summary = "*script*" diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua index f66e8b7..246f5da 100644 --- a/.config/nvim/after/plugin/lsp.lua +++ b/.config/nvim/after/plugin/lsp.lua @@ -12,3 +12,20 @@ end) require('lspconfig').lua_ls.setup(lsp.nvim_lua_ls()) lsp.setup() + +local cmp = require('cmp') +local cmp_action = require('lsp-zero').cmp_action() + +cmp.setup({ + mapping = { + -- `Enter` key to confirm completion + [''] = cmp.mapping.confirm({select = false}), + + -- Ctrl+Space to trigger completion menu + [''] = cmp.mapping.complete(), + + -- Navigate between snippet placeholder + [''] = cmp_action.luasnip_jump_forward(), + [''] = cmp_action.luasnip_jump_backward(), + } +})