diff --git a/modules/nixvim/completion.nix b/modules/nixvim/completion.nix index ef2c362..78a9641 100644 --- a/modules/nixvim/completion.nix +++ b/modules/nixvim/completion.nix @@ -3,19 +3,24 @@ enable = true; settings = { keymap = { - preset = "default"; - }; - appearance = { - nerd_font_variant = "mono"; - }; - completion = { - documentation = { - auto_show = false; - }; - }; - signature = { - enabled = true; + preset = "enter"; + "" = [ + "select_next" + "fallback" + ]; + "" = [ + "select_prev" + "fallback" + ]; + "" = [ + "show_documentation" + "hide_documentation" + ]; }; + appearance.nerd_font_variant = "mono"; + completion.documentation.auto_show = false; + signature.enabled = true; + cmdline.completion.menu.auto_show = true; }; }; }