Compare commits
No commits in common. "96c879ee5645cfcf9fab0ca4d6426fa2454a85f6" and "4eb88a24172fbf7a52868814ad0078d6beb6ee2d" have entirely different histories.
96c879ee56
...
4eb88a2417
3 changed files with 2 additions and 22 deletions
5
init.lua
5
init.lua
|
|
@ -36,11 +36,6 @@ 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")
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,7 @@ 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'
|
||||||
|
|
@ -46,17 +44,9 @@ 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', 'datastar' },
|
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||||
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,
|
||||||
-- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"`
|
-- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"`
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
return {{
|
|
||||||
"WillEhrendreich/datastar.nvim",
|
|
||||||
ft = { "html" },
|
|
||||||
opts = {},
|
|
||||||
}}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue