mirror of
https://github.com/harivansh-afk/nvim.git
synced 2026-04-18 19:03:47 +00:00
clean
This commit is contained in:
parent
ca4ee432cf
commit
7fdd98ee35
3 changed files with 1 additions and 116 deletions
2
init.lua
2
init.lua
|
|
@ -36,7 +36,7 @@ vim.opt.incsearch = true
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
vim.opt.scrolloff = 8
|
vim.opt.scrolloff = 8
|
||||||
vim.opt.signcolumn = "yes"
|
vim.opt.signcolumn = "yes"
|
||||||
vim.opt.updatetime = 50
|
vim.opt.updatetime = 250
|
||||||
vim.opt.colorcolumn = ""
|
vim.opt.colorcolumn = ""
|
||||||
vim.opt.mouse = "a"
|
vim.opt.mouse = "a"
|
||||||
vim.opt.ignorecase = true
|
vim.opt.ignorecase = true
|
||||||
|
|
|
||||||
|
|
@ -1,94 +0,0 @@
|
||||||
return {
|
|
||||||
"yetone/avante.nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
lazy = false,
|
|
||||||
version = false,
|
|
||||||
opts = {
|
|
||||||
provider = "claude",
|
|
||||||
auto_suggestions_provider = "claude",
|
|
||||||
providers = {
|
|
||||||
claude = {
|
|
||||||
endpoint = "https://api.anthropic.com/v1",
|
|
||||||
model = "claude-sonnet-4-20250514",
|
|
||||||
extra_request_body = {
|
|
||||||
temperature = 0,
|
|
||||||
max_tokens = 4096,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
behaviour = {
|
|
||||||
auto_suggestions = false,
|
|
||||||
auto_set_highlight_group = true,
|
|
||||||
auto_set_keymaps = true,
|
|
||||||
auto_apply_diff_after_generation = false,
|
|
||||||
support_paste_from_clipboard = false,
|
|
||||||
},
|
|
||||||
mappings = {
|
|
||||||
diff = {
|
|
||||||
ours = "co",
|
|
||||||
theirs = "ct",
|
|
||||||
all_theirs = "ca",
|
|
||||||
both = "cb",
|
|
||||||
cursor = "cc",
|
|
||||||
next = "]x",
|
|
||||||
prev = "[x",
|
|
||||||
},
|
|
||||||
suggestion = {
|
|
||||||
accept = "<M-l>",
|
|
||||||
next = "<M-]>",
|
|
||||||
prev = "<M-[>",
|
|
||||||
dismiss = "<C-]>",
|
|
||||||
},
|
|
||||||
jump = {
|
|
||||||
next = "]]",
|
|
||||||
prev = "[[",
|
|
||||||
},
|
|
||||||
submit = {
|
|
||||||
normal = "<CR>",
|
|
||||||
insert = "<C-s>",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
hints = { enabled = true },
|
|
||||||
windows = {
|
|
||||||
position = "right",
|
|
||||||
wrap = true,
|
|
||||||
width = 30,
|
|
||||||
sidebar_header = {
|
|
||||||
align = "center",
|
|
||||||
rounded = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
highlights = {
|
|
||||||
diff = {
|
|
||||||
current = "DiffText",
|
|
||||||
incoming = "DiffAdd",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
diff = {
|
|
||||||
autojump = true,
|
|
||||||
list_opener = "copen",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
build = "make",
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
"stevearc/dressing.nvim",
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
"MunifTanjim/nui.nvim",
|
|
||||||
"nvim-tree/nvim-web-devicons",
|
|
||||||
{
|
|
||||||
"HakonHarnes/img-clip.nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
opts = {
|
|
||||||
default = {
|
|
||||||
embed_image_as_base64 = false,
|
|
||||||
prompt_for_file_name = false,
|
|
||||||
drag_and_drop = {
|
|
||||||
insert_mode = true,
|
|
||||||
},
|
|
||||||
use_absolute_path = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
return {
|
|
||||||
"sphamba/smear-cursor.nvim",
|
|
||||||
lazy = false,
|
|
||||||
priority = 1000,
|
|
||||||
opts = {
|
|
||||||
-- Cursor color. Defaults to Cursor GUI color if not set
|
|
||||||
cursor_color = "#d3cdc3",
|
|
||||||
|
|
||||||
-- Background color. Defaults to Normal GUI background color if not set
|
|
||||||
normal_bg = "#282828",
|
|
||||||
|
|
||||||
-- Smear cursor when switching buffers or windows
|
|
||||||
smear_between_buffers = true,
|
|
||||||
|
|
||||||
-- Smear cursor when moving within line or to neighbor lines
|
|
||||||
smear_between_neighbor_lines = true,
|
|
||||||
|
|
||||||
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols)
|
|
||||||
legacy_computing_symbols_support = false,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue