NVF Options
_module.args Link copied!
Additional arguments passed to each module in addition to ones
like lib, config,
and pkgs, modulesPath.
This option is also available to all submodules. Submodules do not
inherit args from their parent module, nor do they provide args to
their parent module or sibling submodules. The sole exception to
this is the argument name which is provided by
parent modules to a submodule and contains the attribute name
the submodule is bound to, or a unique generated name if it is
not bound to an attribute.
Some arguments are already passed by default, of which the following cannot be changed with this option:
-
lib: The nixpkgs library. -
config: The results of all options after merging the values from all modules together. -
options: The options declared in all modules. -
specialArgs: ThespecialArgsargument passed toevalModules. -
All attributes of
specialArgsWhereas option values can generally depend on other option values thanks to laziness, this does not apply to
imports, which must be computed statically before anything else.For this reason, callers of the module system can provide
specialArgswhich are available during import resolution.For NixOS,
specialArgsincludesmodulesPath, which allows you to import extra modules from the nixpkgs package tree without having to somehow make the module aware of the location of thenixpkgsor NixOS directories.{ modulesPath, ... }: { imports = [ (modulesPath + "/profiles/minimal.nix") ]; }
For NixOS, the default value for this option includes at least this argument:
pkgs: The nixpkgs package set according to thenixpkgs.pkgsoption.
- Type
lazy attribute set of raw value- Default
{ }
- Declared in
<nixpkgs/lib/modules.nix>
mnw Link copied!
Internal options passed directly to mnw itself.
- Type
submodule- Default
{ }
- Declared in
<nvf/modules/wrapper/build/mnw.nix>
mnw.enable Link copied!
Whether to enable mnw (Minimal Neovim Wrapper).
- Type
boolean- Default
false- Example
true
- Declared in
<mnw/modules/options.nix>
mnw.aliases Link copied!
Aliases to symlink nvim to.
- Type
list of string- Default
[ ]- Example
[
"vi"
"vim"
]
- Declared in
<mnw/modules/options.nix>
mnw.appName Link copied!
What to set $NVIM_APPNAME to
- Type
null or string- Default
"mnw"- Example
"gerg"
- Declared in
<mnw/modules/options.nix>
mnw.appNameMethod Link copied!
How to set $NVIM_APPNAME with makeWrapper
- Type
one of "set", "set-default"- Default
"set"- Example
"set-default"
- Declared in
<mnw/modules/options.nix>
mnw.desktopEntry Link copied!
Whether to enable neovim's desktop entry.
- Type
boolean- Default
true- Example
false
- Declared in
<mnw/modules/options.nix>
mnw.extraBinPath Link copied!
Extra packages to be put in neovim's PATH
- Type
list of package- Default
[ ]- Example
[
pkgs.rg
pkgs.fzf
]
- Declared in
<mnw/modules/options.nix>
mnw.extraBuilderArgs Link copied!
Extra attributes to pass to mkDerivation.
- Type
attribute set of anything- Default
{ }- Example
{
doInstallCheck = true;
extraInstallCheckInputs = [ pkgs.hello ];
installCheckPhase = ''
hello
'';
}
- Declared in
<mnw/modules/options.nix>
mnw.extraLuaPackages Link copied!
A function which returns a list of extra needed lua packages.
- Type
function that evaluates to a(n) list of package- Default
ps: [ ]- Example
ps: [ ps.jsregexp ]
- Declared in
<mnw/modules/options.nix>
mnw.finalPackage Link copied!
The final package to be consumed by the user
- Type
package
- Declared in
<mnw/modules/options.nix>
mnw.initLua Link copied!
lua config text to load at startup
- Type
strings concatenated with "\n"- Default
""- Example
''
require("myConfig")
''
- Declared in
<mnw/modules/options.nix>
mnw.initViml Link copied!
VimL config text to load at startup
- Type
strings concatenated with "\n"- Default
""- Example
''
echomsg 'hello world'
''
- Declared in
<mnw/modules/options.nix>
mnw.luaFiles Link copied!
lua config files to load at startup
- Type
list of path in the Nix store- Default
[ ]- Example
[
(pkgs.writeText "init.lua" ''
print('hello world')
'')
]
- Declared in
<mnw/modules/options.nix>
mnw.neovim Link copied!
The neovim package to use. Must be unwrapped
- Type
package- Default
pkgs.neovim-unwrapped- Example
inputs.neovim-nightly-overlay.packages.${pkgs.stdenv.system}.default
- Declared in
<mnw/modules/options.nix>
mnw.plugins.dev Link copied!
Plugins for use with devMode. You most likely want to put your config here. (automatically loaded)
- Type
attribute set of (submodule)- Default
{ }- Example
{
myconfig = {
pure = ./nvim;
impure = "/home/user/nix-config/nvim";
};
}
- Declared in
<mnw/modules/options.nix>
mnw.plugins.dev.<name>.impure Link copied!
The impure absolute paths to the nvim plugin.
- Type
absolute path- Example
"/home/user/nix-config/nvim"
- Declared in
<mnw/modules/options.nix>
mnw.plugins.dev.<name>.pure Link copied!
The pure path to the nvim plugin.
- Type
path in the Nix store or attribute set with src- Example
./nvim
- Declared in
<mnw/modules/options.nix>
mnw.plugins.opt Link copied!
- Type
list of (path in the Nix store or attribute set with src)- Default
[ ]
- Declared in
<mnw/modules/options.nix>
mnw.plugins.optAttrs Link copied!
- Type
attribute set of (null or path in the Nix store or attribute set with src)- Default
{ }
- Declared in
<mnw/modules/options.nix>
mnw.plugins.start Link copied!
- Type
list of (path in the Nix store or attribute set with src)- Default
[ ]
- Declared in
<mnw/modules/options.nix>
mnw.plugins.startAttrs Link copied!
- Type
attribute set of (null or path in the Nix store or attribute set with src)- Default
{ }
- Declared in
<mnw/modules/options.nix>
mnw.providers.nodeJs.enable Link copied!
Whether to enable and configure the Node.js provider.
- Type
boolean- Default
false- Example
true
- Declared in
<mnw/modules/options.nix>
mnw.providers.nodeJs.package Link copied!
The Node.js package to use.
- Type
package- Default
pkgs.nodejs- Example
pkgs.nodejs_23
- Declared in
<mnw/modules/options.nix>
mnw.providers.nodeJs.neovimClientPackage Link copied!
The neovim-node-client package to use.
- Type
package- Default
pkgs.neovim-node-client- Example
pkgs.neovim-node-client
- Declared in
<mnw/modules/options.nix>
mnw.providers.perl.enable Link copied!
Whether to enable and configure the perl provider.
- Type
boolean- Default
false- Example
true
- Declared in
<mnw/modules/options.nix>
mnw.providers.perl.package Link copied!
The perl package to use.
- Type
package- Default
pkgs.perl- Example
pkgs.perl
- Declared in
<mnw/modules/options.nix>
mnw.providers.perl.extraPackages Link copied!
Extra packages to be included in the perl environment.
Note: you probably want to include NeovimExt and Appcpanminus if you change this from it's default value.
- Type
function that evaluates to a(n) list of package- Default
p: [
p.NeovimExt
p.Appcpanminus
]- Example
p: [
p.NeovimExt
p.Appcpanminus
]
- Declared in
<mnw/modules/options.nix>
mnw.providers.python3.enable Link copied!
Whether to enable and configure the python3 provider.
- Type
boolean- Default
false- Example
true
- Declared in
<mnw/modules/options.nix>
mnw.providers.python3.package Link copied!
The python3 package to use.
- Type
package- Default
pkgs.python3- Example
pkgs.python39
- Declared in
<mnw/modules/options.nix>
mnw.providers.python3.extraPackages Link copied!
Extra packages to be included in the python3 environment.
Note: you probably want to include pynvim if you change this from it's default value.
- Type
function that evaluates to a(n) list of package- Default
p: [ pynvim ]- Example
py: [
py.pynvim
py.pybtex
]
- Declared in
<mnw/modules/options.nix>
mnw.providers.ruby.enable Link copied!
Whether to enable and configure the ruby provider.
- Type
boolean- Default
false- Example
true
- Declared in
<mnw/modules/options.nix>
mnw.providers.ruby.package Link copied!
The ruby package to use.
- Type
package- Default
programs.mnw.providers.ruby.env.ruby- Example
pkgs.ruby
- Declared in
<mnw/modules/options.nix>
mnw.providers.ruby.env Link copied!
The ruby bundlerEnv to use.
- Type
package- Default
pkgs.bundlerEnv {
name = "neovim-ruby-env";
gemdir = ../ruby_provider;
postBuild = '''
rm $out/bin/{bundle,bundler}
''';
}- Example
pkgs.bundlerEnv {
name = "neovim-ruby-env";
gemdir = ../ruby_provider;
}
- Declared in
<mnw/modules/options.nix>
mnw.vimlFiles Link copied!
VimL config files to load at startup
- Type
list of path in the Nix store- Default
[ ]- Example
[
(pkgs.writeText "init.vim" ''
echomsg 'hello world'
'')
]
- Declared in
<mnw/modules/options.nix>
mnw.wrapperArgs Link copied!
A list of arguments to be passed to makeWrapper
- Type
list of string- Default
[ ]- Example
[
"--set-default"
"FZF_DEFAULT_OPTS"
"--layout=reverse --inline-info"
]
- Declared in
<mnw/modules/options.nix>
vim.enableLuaLoader Link copied!
Whether to enable the experimental Lua module loader to speed up the start
up process. If true, this will enable the experimental Lua module loader
which:
- overrides loadfile
- adds the lua loader using the byte-compilation cache
- adds the libs loader
- removes the default Neovim loader
Note
The Lua module loader is disabled by default. Before setting this option, please
take a look at the official documentation. This option may be enabled by
default in the future.
- Type
boolean- Default
false- Example
true
- Declared in
<nvf/modules/wrapper/rc/options.nix>
vim.package Link copied!
The neovim package to use for the wrapper. This corresponds to the package that will be wrapped with your plugins and settings.
Warning
You will need to use an unwrapped package for this option to work as intended. Using an already wrapped package here may yield undesirable results.
- Type
package- Default
pkgs.neovim-unwrapped
vim.additionalRuntimePaths Link copied!
Additional runtime paths that will be appended or prepended to the active
runtimepath of the Neovim. This can be used to add additional
lookup paths for configs, plugins, spell languages and other
things you would generally place in your $HOME/.config/nvim.
This is meant as a declarative alternative to throwing files into
~/.config/nvim and having the Neovim wrapper pick them up.
> [!NOTE] > When not explicitly defining a position via the attribute set, > nvf defaults to appending.
For more details on vim.o.runtimepath, and what paths to use, please see
the official documentation.
- Type
list of (absolute path or string or (submodule))- Default
[ ]- Example
[
# Absolute path, as a string. This is the impure option.
"$HOME/.config/nvim-extra"
# Relative path inside your configuration. If your config
# is version controlled, then this is pure and reproducible.
./nvim
# Source type path. This pure and reproducible.
# See `:doc builtins.path` inside a Nix repl for more options.
(builtins.path {
path = ./runtime; # this must be a relative path
name = "nvim-runtime"; # name is arbitrary
})
]
- Declared in
<nvf/modules/wrapper/rc/options.nix>
vim.assistant.avante-nvim.enable Link copied!
Whether to enable complementary Neovim plugin for avante.nvim.
- Type
boolean- Default
false- Example
true
vim.assistant.avante-nvim.setupOpts Link copied!
Option table to pass into the setup function of avante-nvim.
Accepts either an attribute set of options, or a raw Lua expression
via lib.mkLuaInline. When set to a luaInline value, the
expression is passed verbatim as the argument to setup().
You can pass in any additional options even if they're not listed in the docs.
- Type
(luaInline) or (open submodule of anything)- Default
{ }
vim.assistant.avante-nvim.setupOpts.auto_suggestions_provider Link copied!
Since auto-suggestions are a high-frequency operation and therefore expensive,
currently designating it as copilot provider is dangerous because:
https://github.com/yetone/avante.nvim/issues/1048
Of course, you can reduce the request frequency by increasing suggestion.debounce.
- Type
string- Default
"claude"
- Declared in
vim.assistant.avante-nvim.setupOpts.auto_suggestions_provider
vim.assistant.avante-nvim.setupOpts.behaviour.enable_claude_text_editor_tool_mode Link copied!
Whether to enable Claude Text Editor Tool Mode..
- Type
boolean- Default
false- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.enable_claude_text_editor_tool_mode
vim.assistant.avante-nvim.setupOpts.behaviour.enable_cursor_planning_mode Link copied!
Whether to enable Cursor Planning Mode..
- Type
boolean- Default
false- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.enable_cursor_planning_mode
vim.assistant.avante-nvim.setupOpts.behaviour.enable_token_counting Link copied!
Whether to enable token counting..
- Type
boolean- Default
true- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.enable_token_counting
vim.assistant.avante-nvim.setupOpts.behaviour.auto_apply_diff_after_generation Link copied!
Whether to enable automatically apply diff after LLM response..
- Type
boolean- Default
false- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.auto_apply_diff_after_generation
vim.assistant.avante-nvim.setupOpts.behaviour.auto_set_highlight_group Link copied!
Whether to enable automatically set the highlight group for the current line..
- Type
boolean- Default
true- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.auto_set_highlight_group
vim.assistant.avante-nvim.setupOpts.behaviour.auto_set_keymaps Link copied!
Whether to enable automatically set the keymap for the current line..
- Type
boolean- Default
true- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.auto_set_keymaps
vim.assistant.avante-nvim.setupOpts.behaviour.auto_suggestions Link copied!
Whether to enable auto suggestions..
- Type
boolean- Default
false- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.auto_suggestions
vim.assistant.avante-nvim.setupOpts.behaviour.minimize_diff Link copied!
Whether to enable remove unchanged lines when applying a code block..
- Type
boolean- Default
true- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.minimize_diff
vim.assistant.avante-nvim.setupOpts.behaviour.support_paste_from_clipboard Link copied!
Whether to enable pasting image from clipboard. This will be determined automatically based whether img-clip is available or not. .
- Type
boolean- Default
false- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.behaviour.support_paste_from_clipboard
vim.assistant.avante-nvim.setupOpts.cursor_applying_provider Link copied!
The provider used in the applying phase of Cursor Planning Mode, defaults to nil,
Config.provider will be used as the provider for the applying phase when nil.
- Type
null or string- Default
null
- Declared in
vim.assistant.avante-nvim.setupOpts.cursor_applying_provider
vim.assistant.avante-nvim.setupOpts.diff.autojump Link copied!
Automatically jumps to the next change.
- Type
boolean- Default
true- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.diff.autojump
vim.assistant.avante-nvim.setupOpts.diff.override_timeoutlen Link copied!
Override the 'timeoutlen' setting while hovering over a diff (see :help timeoutlen).
Helps to avoid entering operator-pending mode with diff mappings starting with c.
Disable by setting to -1.
- Type
signed integer- Default
500- Example
-1
- Declared in
vim.assistant.avante-nvim.setupOpts.diff.override_timeoutlen
vim.assistant.avante-nvim.setupOpts.dual_boost.enabled Link copied!
Whether to enable dual_boost mode..
- Type
boolean- Default
false- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.dual_boost.enabled
vim.assistant.avante-nvim.setupOpts.dual_boost.first_provider Link copied!
The first provider to generate response.
- Type
string- Default
"openai"
- Declared in
vim.assistant.avante-nvim.setupOpts.dual_boost.first_provider
vim.assistant.avante-nvim.setupOpts.dual_boost.prompt Link copied!
The prompt to generate response based on the two reference outputs.
- Type
string- Default
''
Based on the two reference outputs below, generate a response that incorporates
elements from both but reflects your own judgment and unique perspective.
Do not provide any explanation, just give the response directly. Reference Output 1:
[{{provider1_output}}], Reference Output 2: [{{provider2_output}}''
- Declared in
vim.assistant.avante-nvim.setupOpts.dual_boost.prompt
vim.assistant.avante-nvim.setupOpts.dual_boost.second_provider Link copied!
The second provider to generate response.
- Type
string- Default
"claude"
- Declared in
vim.assistant.avante-nvim.setupOpts.dual_boost.second_provider
vim.assistant.avante-nvim.setupOpts.dual_boost.timeout Link copied!
Timeout in milliseconds.
- Type
signed integer- Default
60000
- Declared in
vim.assistant.avante-nvim.setupOpts.dual_boost.timeout
vim.assistant.avante-nvim.setupOpts.hints.enabled Link copied!
Whether to enable hints.
- Type
boolean- Default
true- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.hints.enabled
vim.assistant.avante-nvim.setupOpts.mappings.cancel Link copied!
Define or override the default keymaps for cancel actions.
- Type
null or (attribute set)- Default
null
- Declared in
vim.assistant.avante-nvim.setupOpts.mappings.cancel
vim.assistant.avante-nvim.setupOpts.mappings.diff Link copied!
Define or override the default keymaps for diff.
- Type
null or (attribute set)- Default
null
- Declared in
vim.assistant.avante-nvim.setupOpts.mappings.diff
vim.assistant.avante-nvim.setupOpts.mappings.jump Link copied!
Define or override the default keymaps for jump actions.
- Type
null or (attribute set)- Default
null
- Declared in
vim.assistant.avante-nvim.setupOpts.mappings.jump
vim.assistant.avante-nvim.setupOpts.mappings.sidebar Link copied!
Define or override the default keymaps for sidebar actions.
- Type
null or (attribute set)- Default
null
- Declared in
vim.assistant.avante-nvim.setupOpts.mappings.sidebar
vim.assistant.avante-nvim.setupOpts.mappings.submit Link copied!
Define or override the default keymaps for submit actions.
- Type
null or (attribute set)- Default
null
- Declared in
vim.assistant.avante-nvim.setupOpts.mappings.submit
vim.assistant.avante-nvim.setupOpts.mappings.suggestion Link copied!
Define or override the default keymaps for suggestion actions.
- Type
null or (attribute set)- Default
null
- Declared in
vim.assistant.avante-nvim.setupOpts.mappings.suggestion
vim.assistant.avante-nvim.setupOpts.provider Link copied!
The provider used in Aider mode or in the planning phase of Cursor Planning Mode.
- Type
null or string- Default
null
- Declared in
vim.assistant.avante-nvim.setupOpts.provider
vim.assistant.avante-nvim.setupOpts.providers Link copied!
Define settings for builtin and custom providers.
- Type
null or (attribute set)- Default
null- Example
openai = {
endpoint = "https://api.openai.com/v1";
model = "gpt-4o"; # your desired model (or use gpt-4o, etc.)
timeout = 30000; # Timeout in milliseconds, increase this for reasoning models
extra_request_body = {
temperature = 0;
max_completion_tokens = 8192; # Increase this to include reasoning tokens (for reasoning models)
reasoning_effort = "medium"; # low|medium|high, only used for reasoning models
};
};
ollama = {
endpoint = "http://127.0.0.1:11434";
timeout = 30000; # Timeout in milliseconds
extra_request_body = {
options = {
temperature = 0.75;
num_ctx = 20480;
keep_alive = "5m";
};
};
};
groq = {
__inherited_from = "openai";
api_key_name = "GROQ_API_KEY";
endpoint = "https://api.groq.com/openai/v1/";
model = "llama-3.3-70b-versatile";
disable_tools = true;
extra_request_body = {
temperature = 1;
max_tokens = 32768; # remember to increase this value, otherwise it will stop generating halfway
};
};
- Declared in
vim.assistant.avante-nvim.setupOpts.providers
vim.assistant.avante-nvim.setupOpts.suggestion.debounce Link copied!
Suggestion debounce in milliseconds.
- Type
signed integer- Default
600
- Declared in
vim.assistant.avante-nvim.setupOpts.suggestion.debounce
vim.assistant.avante-nvim.setupOpts.suggestion.throttle Link copied!
Suggestion throttle in milliseconds.
- Type
signed integer- Default
600
- Declared in
vim.assistant.avante-nvim.setupOpts.suggestion.throttle
vim.assistant.avante-nvim.setupOpts.windows.ask.border Link copied!
The border type on the ask window.
- Type
string- Default
"rounded"
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.ask.border
vim.assistant.avante-nvim.setupOpts.windows.ask.floating Link copied!
Open the 'AvanteAsk' prompt in a floating window.
- Type
boolean- Default
false
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.ask.floating
vim.assistant.avante-nvim.setupOpts.windows.ask.focus_on_apply Link copied!
Which diff to focus after applying.
- Type
one of "ours", "theirs"- Default
"ours"
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.ask.focus_on_apply
vim.assistant.avante-nvim.setupOpts.windows.ask.start_insert Link copied!
Start insert mode when opening the ask window.
- Type
boolean- Default
true
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.ask.start_insert
vim.assistant.avante-nvim.setupOpts.windows.edit.border Link copied!
The border type on the edit window.
- Type
string- Default
"rounded"
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.edit.border
vim.assistant.avante-nvim.setupOpts.windows.edit.start_insert Link copied!
Start insert mode when opening the edit window.
- Type
boolean- Default
true
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.edit.start_insert
vim.assistant.avante-nvim.setupOpts.windows.input.height Link copied!
Height of the input window in vertical layout.
- Type
signed integer- Default
8
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.input.height
vim.assistant.avante-nvim.setupOpts.windows.input.prefix Link copied!
The prefix used on the user input.
- Type
string- Default
"> "
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.input.prefix
vim.assistant.avante-nvim.setupOpts.windows.position Link copied!
The position of the sidebar.
- Type
one of "right", "left", "top", "bottom"- Default
"right"
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.position
vim.assistant.avante-nvim.setupOpts.windows.sidebar_header.enabled Link copied!
enable/disable the header.
- Type
boolean- Default
true
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.sidebar_header.enabled
vim.assistant.avante-nvim.setupOpts.windows.sidebar_header.align Link copied!
Position of the title.
- Type
one of "right", "center", "left"- Default
"center"
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.sidebar_header.align
vim.assistant.avante-nvim.setupOpts.windows.sidebar_header.rounded Link copied!
Enable rounded sidebar header
- Type
boolean- Default
true
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.sidebar_header.rounded
vim.assistant.avante-nvim.setupOpts.windows.width Link copied!
Default % based on available width.
- Type
signed integer- Default
30
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.width
vim.assistant.avante-nvim.setupOpts.windows.wrap Link copied!
similar to vim.o.wrap.
- Type
boolean- Default
true- Example
true
- Declared in
vim.assistant.avante-nvim.setupOpts.windows.wrap
vim.assistant.chatgpt.enable Link copied!
Whether to enable ChatGPT AI assistant. Requires the environment variable OPENAI_API_KEY to be set.
- Type
boolean- Default
false- Example
true
vim.assistant.chatgpt.mappings.addTests Link copied!
[ChatGPT] Add tests
- Type
null or string- Default
"<leader>aa"
vim.assistant.chatgpt.mappings.docstring Link copied!
[ChatGPT] Docstring
- Type
null or string- Default
"<leader>ad"
vim.assistant.chatgpt.mappings.editWithInstructions Link copied!
[ChatGPT] Edit with instructions
- Type
null or string- Default
"<leader>ae"
vim.assistant.chatgpt.mappings.explain Link copied!
[ChatGPT] Explain code
- Type
null or string- Default
"<leader>ax"
vim.assistant.chatgpt.mappings.fixBugs Link copied!
[ChatGPT] Fix bugs
- Type
null or string- Default
"<leader>af"
vim.assistant.chatgpt.mappings.grammarCorrection Link copied!
[ChatGPT] Grammar correction
- Type
null or string- Default
"<leader>ag"
vim.assistant.chatgpt.mappings.keyword Link copied!
[ChatGPT] Keywords
- Type
null or string- Default
"<leader>ak"
vim.assistant.chatgpt.mappings.optimize Link copied!
[ChatGPT] Optimize code
- Type
null or string- Default
"<leader>ao"
vim.assistant.chatgpt.mappings.readabilityanalysis Link copied!
[ChatGPT] Code reability analysis
- Type
null or string- Default
"<leader>al"
vim.assistant.chatgpt.mappings.roxygenEdit Link copied!
[ChatGPT] Roxygen edit
- Type
null or string- Default
"<leader>ar"
vim.assistant.chatgpt.mappings.summarize Link copied!
[ChatGPT] Summarize
- Type
null or string- Default
"<leader>as"
vim.assistant.chatgpt.mappings.translate Link copied!
[ChatGPT] Translate
- Type
null or string- Default
"<leader>at"
vim.assistant.chatgpt.setupOpts Link copied!
Option table to pass into the setup function of chatgpt.
Accepts either an attribute set of options, or a raw Lua expression
via lib.mkLuaInline. When set to a luaInline value, the
expression is passed verbatim as the argument to setup().
You can pass in any additional options even if they're not listed in the docs.
- Type
(luaInline) or (open submodule of anything)- Default
{ }
vim.assistant.codecompanion-nvim.enable Link copied!
Whether to enable complementary neovim plugin for codecompanion.nvim.
- Type
boolean- Default
false- Example
true
More options load as you scroll.