changed some things

This commit is contained in:
pika 2025-03-16 18:29:03 +01:00
parent fa153c97f6
commit a32e33117e
6 changed files with 62 additions and 53 deletions

View file

@ -6,7 +6,7 @@ require("pika.lazy")
-- │ themes are under ./lua/pika/plugins/colorschemes.lua │
-- ╰──────────────────────────────────────────────────────╯
vim.cmd.colorscheme("gruvbox-material")
vim.cmd.colorscheme("material-darker")
-- Keybind for saving clipboard screenshot and inserting a Markdown link
vim.api.nvim_set_keymap("n", "<leader>ps", ":lua SaveScreenshotAndInsertLink()<CR>", { noremap = true, silent = true })

View file

@ -0,0 +1,59 @@
return {
"yetone/avante.nvim",
event = "VeryLazy",
version = false, -- Set this to "*" to always pull the latest release version, or set it to false to update to the latest code changes.
opts = {
-- add any opts here
-- for example
provider = "openai",
openai = {
endpoint = "https://api.openai.com/v1",
model = "gpt-4o", -- your desired model (or use gpt-4o, etc.)
timeout = 30000, -- timeout in milliseconds
temperature = 0, -- adjust if needed
max_tokens = 4096,
-- reasoning_effort = "high" -- only supported for reasoning models (o1, etc.)
},
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
build = "make",
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
dependencies = {
"nvim-treesitter/nvim-treesitter",
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
--- The below dependencies are optional,
"echasnovski/mini.pick", -- for file_selector provider mini.pick
"nvim-telescope/telescope.nvim", -- for file_selector provider telescope
"hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
"ibhagwan/fzf-lua", -- for file_selector provider fzf
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
"zbirenbaum/copilot.lua", -- for providers='copilot'
{
-- support for image pasting
"HakonHarnes/img-clip.nvim",
event = "VeryLazy",
opts = {
-- recommended settings
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
-- required for Windows users
use_absolute_path = true,
},
},
},
{
-- Make sure to set this up properly if you have lazy=true
"MeanderingProgrammer/render-markdown.nvim",
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
},
}

View file

@ -1,19 +1,17 @@
return {
{ "folke/tokyonight.nvim" },
-- { "catppuccin/nvim", name = "catppuccin" },
{ "EdenEast/nightfox.nvim" },
-- { "EdenEast/nightfox.nvim" },
-- { "DanWlker/primeppuccin", name = "primeppuccin" },
{ "rose-pine/neovim", name = "rose-pine" },
-- { "rose-pine/neovim", name = "rose-pine" },
{ "AlexvZyl/nordic.nvim" },
{ "eldritch-theme/eldritch.nvim" },
-- { "sainnhe/sonokai" },
{ "samharju/synthweave.nvim" },
{ "sainnhe/gruvbox-material" },
-- { "66RING/zephyr-nvim" },
{ "pauchiner/pastelnight.nvim" },
{ "ptdewey/darkearth-nvim" },
{ "marko-cerovac/material.nvim" },
-- { "RedsXDD/neopywal.nvim" },
-- {
-- "ferdinandrau/lavish.nvim",
-- opts = {

View file

@ -1,15 +0,0 @@
return {
"derektata/lorem.nvim",
config = function()
require("lorem").setup({
sentenceLength = { -- custom configuration
words_per_sentence = 6,
sentences_per_paragraph = 4,
},
comma_chance = 0.3, -- 30% chance to insert a comma
max_commas_per_sentence = 2, -- maximum 2 commas per sentence
})
end,
-- ─< LoremIpsum generator >────────────────────────────────────────────────────────────
vim.keymap.set("n", "<leader>L", ":LoremIpsum "),
}

View file

@ -1,24 +0,0 @@
return {
-- "https://git.k4li.de/pika/telesnip.nvim",
"pik4li/telesnip.nvim",
dependencies = "nvim-telescope/telescope.nvim",
branch = "main",
opts = {
-- ╭────────────────────────────────────────────────────────────────────────╮
-- │ customize your custom_snippet_path (if you change the snippet_path │
-- │ you might break something, as this is the directory for the snippets │
-- │ inside the plugin folder) │
-- ╰────────────────────────────────────────────────────────────────────────╯
-- snippet_path = "/path/to/your/snippets",
-- custom_snippet_path = "~/.config/nvim/snippets/",
},
config = function(_, opts)
require("telesnip").setup(opts)
end,
keys = {
-- ─< just the standard two keybindings I configured. Be sure to make your own one, if you'd like >─
{ "<leader>sm", "<cmd>TelesnipShowSnippets<CR>", desc = "Open Snippet Picker" },
{ "<leader>sc", "<cmd>TelesnipCustomSnippet<CR>", desc = "Save Custom Snippet" },
{ "<leader>sc", "<cmd>TelesnipCustomSnippet<CR>", mode = "v", desc = "Save Custom Snippet" },
},
}

View file

@ -1,9 +0,0 @@
return {
"folke/todo-comments.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
},
}