diff --git a/modules/neovim/lua/community.lua b/modules/neovim/lua/community.lua index 96d4822..06bbb5c 100644 --- a/modules/neovim/lua/community.lua +++ b/modules/neovim/lua/community.lua @@ -10,11 +10,8 @@ return { { import = "astrocommunity.media.vim-wakatime" }, { import = "astrocommunity.editing-support.todo-comments-nvim" }, - { import = "astrocommunity.editing-support.zen-mode-nvim" }, - { import = "astrocommunity.motion.flash-nvim" }, { import = "astrocommunity.motion.flit-nvim" }, - { import = "astrocommunity.motion.leap-nvim" }, { import = "astrocommunity.motion.mini-ai" }, { import = "astrocommunity.motion.mini-surround" }, diff --git a/modules/neovim/lua/plugins/ollama-nvim.lua b/modules/neovim/lua/plugins/ollama-nvim.lua new file mode 100644 index 0000000..7425a2c --- /dev/null +++ b/modules/neovim/lua/plugins/ollama-nvim.lua @@ -0,0 +1,33 @@ +--- @type LazySpec +return { + "nomnivore/ollama.nvim", + dependencies = { + "nvim-lua/plenary.nvim", + }, + + -- All the user commands added by the plugin + cmd = { "Ollama", "OllamaModel", "OllamaServe", "OllamaServeStop" }, + + keys = { + -- Sample keybind for prompt menu. Note that the is important for selections to work properly. + { + "oo", + ":lua require('ollama').prompt()", + desc = "ollama prompt", + mode = { "n", "v" }, + }, + + -- Sample keybind for direct prompting. Note that the is important for selections to work properly. + { + "oG", + ":lua require('ollama').prompt('Generate_Code')", + desc = "ollama Generate Code", + mode = { "n", "v" }, + }, + }, + + ---@type Ollama.Config + opts = { + -- your configuration overrides + }, +} diff --git a/modules/neovim/lua/plugins/snacks-nvim.lua b/modules/neovim/lua/plugins/snacks-nvim.lua new file mode 100644 index 0000000..f0a8baa --- /dev/null +++ b/modules/neovim/lua/plugins/snacks-nvim.lua @@ -0,0 +1,7 @@ +--- @type LazySpec +return { + "folke/snacks.nvim", + opts = function(_, opts) + opts.zen = { enabled = true } + end, +} diff --git a/modules/neovim/lua/plugins/user.lua b/modules/neovim/lua/plugins/user.lua index bf0586a..6bfe704 100644 --- a/modules/neovim/lua/plugins/user.lua +++ b/modules/neovim/lua/plugins/user.lua @@ -22,9 +22,9 @@ return { "⠀⠀⠀⠀⠀⠀⠀⠙⠂⠀⠙⢀⣀⣿⣿⣿⣿⣿⣿⣿⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⠁⠀⣻⣿⣿⣿⣿⣿⣿⠏⠀⠘⠃⠀⠀⠀⠀⠀⠀⠀", "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡈⠻⠿⣿⣿⣿⡿⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠻⢿⣿⣿⣿⠿⠛⢁⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀", "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠚⠛⣶⣦⣤⣤⣤⡤⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⢤⣤⣤⣤⣶⣾⠛⠓⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀", - }, "\n") - } - } + }, "\n"), + }, + }, }, }, @@ -38,7 +38,9 @@ return { integrations = { aerial = true, alpha = true, - cmp = true, + blink_cmp = true, + cmp = false, + colorful_winsep = { enabled = true, color = "lavender" }, dap = true, dap_ui = true, gitsigns = true, @@ -48,16 +50,15 @@ return { mason = true, native_lsp = { enabled = true }, neotree = true, - notify = true, semantic_tokens = true, + snacks = { enabled = true, indent_scope_color = "lavender" }, symbols_outline = true, - telescope = true, + telescope = { enabled = false }, treesitter = true, ts_rainbow = false, ufo = true, which_key = true, window_picker = true, - colorful_winsep = { enabled = true, color = "lavender" }, }, }, specs = { @@ -167,47 +168,8 @@ return { opts = {}, }, - -- Adds highlighting and custom commands for ledger files - { - "ledger/vim-ledger", - }, - -- Better UI hooks { "stevearc/dressing.nvim", }, - - -- Add Ollama support in-editor - { - "nomnivore/ollama.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - }, - - -- All the user commands added by the plugin - cmd = { "Ollama", "OllamaModel", "OllamaServe", "OllamaServeStop" }, - - keys = { - -- Sample keybind for prompt menu. Note that the is important for selections to work properly. - { - "oo", - ":lua require('ollama').prompt()", - desc = "ollama prompt", - mode = { "n", "v" }, - }, - - -- Sample keybind for direct prompting. Note that the is important for selections to work properly. - { - "oG", - ":lua require('ollama').prompt('Generate_Code')", - desc = "ollama Generate Code", - mode = { "n", "v" }, - }, - }, - - ---@type Ollama.Config - opts = { - -- your configuration overrides - }, - }, }