Compare commits

..

2 commits

Author SHA1 Message Date
96c879ee56 Datastart plugin. 2026-07-24 11:59:23 -04:00
2a5c7e3581 Completion and funny space bar stuff. 2026-07-24 11:58:52 -04:00
3 changed files with 22 additions and 2 deletions

View file

@ -36,6 +36,11 @@ vim.keymap.set("n", "<Leader>x", ":.lua<CR>")
vim.keymap.set("v", "<Leader>x", ":lua<CR>") vim.keymap.set("v", "<Leader>x", ":lua<CR>")
vim.api.nvim_set_keymap('t', '<ESC>', [[<C-\><C-n>]], {noremap = true}) vim.api.nvim_set_keymap('t', '<ESC>', [[<C-\><C-n>]], {noremap = true})
-- vim.api.nvim_set_keymap('i', '<C-k>', [[<C-x><C-o>]], {noremap = true}) -- vim.api.nvim_set_keymap('i', '<C-k>', [[<C-x><C-o>]], {noremap = true})
vim.keymap.set('v', '<C-Space>', '<Nop>', { desc = 'Stop Ctrl+Space from acting as W' })
vim.keymap.set('n', '<C-Space>', function()
vim.cmd('startinsert')
require('blink.cmp').show()
end)
-- Harpoon Setup and Settings -- Harpoon Setup and Settings
local harpoon = require("harpoon") local harpoon = require("harpoon")

View file

@ -26,7 +26,9 @@ return {
-- C-k: Toggle signature help (if signature.enabled = true) -- C-k: Toggle signature help (if signature.enabled = true)
-- --
-- See :h blink-cmp-config-keymap for defining your own keymap -- See :h blink-cmp-config-keymap for defining your own keymap
keymap = { preset = 'default' }, keymap = { preset = 'default',
-- ['<C-Space'] = { 'show', 'show_documentation', 'hide' },
},
appearance = { appearance = {
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font' -- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
@ -44,8 +46,16 @@ return {
-- Default list of enabled providers defined so that you can extend it -- Default list of enabled providers defined so that you can extend it
-- elsewhere in your config, without redefining it, due to `opts_extend` -- elsewhere in your config, without redefining it, due to `opts_extend`
sources = { sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' }, default = { 'lsp', 'path', 'snippets', 'buffer', 'datastar' },
providers = {
datastar = {
name = "datastar",
module = "datastar.cmp_source",
score_offset = 100,
}
}, },
},
-- (Default) Rust fuzzy matcher for typo resistance and significantly better performance -- (Default) Rust fuzzy matcher for typo resistance and significantly better performance
-- You may use a lua implementation instead by using `implementation = "lua"` or fallback to the lua implementation, -- You may use a lua implementation instead by using `implementation = "lua"` or fallback to the lua implementation,

View file

@ -0,0 +1,5 @@
return {{
"WillEhrendreich/datastar.nvim",
ft = { "html" },
opts = {},
}}