Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dotfiles
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
varac-projects
dotfiles
Commits
fb2a727f
Unverified
Commit
fb2a727f
authored
2 months ago
by
Varac
Browse files
Options
Downloads
Patches
Plain Diff
nvim/blink: Disable supertab agaibn
parent
79b6d2d7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
home/dot_config/nvim/lua/plugins/blink.lua
+23
-22
23 additions, 22 deletions
home/dot_config/nvim/lua/plugins/blink.lua
with
23 additions
and
22 deletions
home/dot_config/nvim/lua/plugins/blink.lua
+
23
−
22
View file @
fb2a727f
...
...
@@ -7,6 +7,8 @@ return {
opts
=
{
-- Configure SuperTab, see
-- https://github.com/LazyVim/LazyVim/discussions/250#discussioncomment-11882952
-- Disabled for now, because I couln't get <cr> working reliably for
-- choosing the selection
--
-- 'default' for mappings similar to built-in completion
-- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate)
...
...
@@ -14,27 +16,26 @@ return {
-- See the full "keymap" documentation for information on defining your own keymap.
-- keymap = { preset = "super-tab" },
-- https://github.com/LazyVim/LazyVim/discussions/250#discussioncomment-12461707
keymap
=
{
preset
=
"default"
,
[
"<Tab>"
]
=
{
"select_next"
,
"fallback"
},
[
"<S-Tab>"
]
=
{
"select_prev"
,
"fallback"
},
-- keymap = {
-- preset = "default",
-- ["<Tab>"] = { "select_next", "fallback" },
-- ["<S-Tab>"] = { "select_prev", "fallback" },
-- },
-- appearance = {
-- -- Sets the fallback highlight groups to nvim-cmp's highlight groups
-- -- Useful for when your theme doesn't support blink.cmp
-- -- Will be removed in a future release
-- use_nvim_cmp_as_default = true,
-- -- Set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- -- Adjusts spacing to ensure icons are aligned
-- nerd_font_variant = "mono",
-- },
-- -- Default list of enabled providers defined so that you can extend it
-- -- elsewhere in your config, without redefining it, due to `opts_extend`
-- sources = {
-- default = { "lsp", "path", "snippets", "buffer" },
-- },
},
appearance
=
{
-- Sets the fallback highlight groups to nvim-cmp's highlight groups
-- Useful for when your theme doesn't support blink.cmp
-- Will be removed in a future release
use_nvim_cmp_as_default
=
true
,
-- Set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- Adjusts spacing to ensure icons are aligned
nerd_font_variant
=
"mono"
,
},
-- Default list of enabled providers defined so that you can extend it
-- elsewhere in your config, without redefining it, due to `opts_extend`
sources
=
{
default
=
{
"lsp"
,
"path"
,
"snippets"
,
"buffer"
},
},
},
opts_extend
=
{
"sources.default"
},
-- Configure Supertab
-- opts_extend = { "sources.default" },
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment