diff --git a/init.lua b/init.lua index af0c1da..bde971a 100644 --- a/init.lua +++ b/init.lua @@ -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", "ps", ":lua SaveScreenshotAndInsertLink()", { noremap = true, silent = true }) diff --git a/lua/pika/plugins/avante-ai.lua b/lua/pika/plugins/avante-ai.lua new file mode 100644 index 0000000..682a95f --- /dev/null +++ b/lua/pika/plugins/avante-ai.lua @@ -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" }, + }, + }, +} diff --git a/lua/pika/plugins/colorschemes.lua b/lua/pika/plugins/colorschemes.lua index ada75bd..93103a4 100644 --- a/lua/pika/plugins/colorschemes.lua +++ b/lua/pika/plugins/colorschemes.lua @@ -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 = { diff --git a/lua/pika/plugins/lorem_ipsum.lua.disabled b/lua/pika/plugins/lorem_ipsum.lua.disabled deleted file mode 100644 index 9e2f902..0000000 --- a/lua/pika/plugins/lorem_ipsum.lua.disabled +++ /dev/null @@ -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", "L", ":LoremIpsum "), -} diff --git a/lua/pika/plugins/telesnip.lua.disabled b/lua/pika/plugins/telesnip.lua.disabled deleted file mode 100644 index 2740d4e..0000000 --- a/lua/pika/plugins/telesnip.lua.disabled +++ /dev/null @@ -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 >─ - { "sm", "TelesnipShowSnippets", desc = "Open Snippet Picker" }, - { "sc", "TelesnipCustomSnippet", desc = "Save Custom Snippet" }, - { "sc", "TelesnipCustomSnippet", mode = "v", desc = "Save Custom Snippet" }, - }, -} diff --git a/lua/pika/plugins/todo-nvim.lua.disabled b/lua/pika/plugins/todo-nvim.lua.disabled deleted file mode 100644 index 52e52b6..0000000 --- a/lua/pika/plugins/todo-nvim.lua.disabled +++ /dev/null @@ -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 - }, -}