{ programs.nvf.settings.vim = { autopairs = { nvim-autopairs.enable = true; }; autocomplete = { enableSharedCmpSources = true; blink-cmp = { enable = true; friendly-snippets.enable = true; mappings = { # default mappings: # - Close [blink.cmp]: # - Complete [blink.cmp]: # - Confirm [blink.cmp]: # - Next item [blink.cmp]: # - Previous item [blink.cmp]: # - Scroll docs down [blink.cmp]: # - Scroll docs up [blink.cmp]: }; setupOpts = { cmdline.sources = null; # use default source list sources.providers.cmdline.module = "blink.cmp.sources.cmdline"; completion.documentation.auto_show_delay_ms = 0; signature.enabled = true; }; }; nvim-cmp = {}; }; # enable code snippets using luasnip # loads from vscode by default using friendly-snippets snippets.luasnip = { enable = true; setupOpts = { enable_autosnippets = true; }; }; binds = { # cheatsheet.nvim provides cheatsheets with fuzzy finding with ? cheatsheet.enable = true; # whichkey provides a popup window with hotkeys whichKey.enable = true; }; }; }