diff --git a/lua/custom/plugins/atac.lua b/lua/custom/plugins/atac.lua deleted file mode 100755 index d4de025..0000000 --- a/lua/custom/plugins/atac.lua +++ /dev/null @@ -1,18 +0,0 @@ -return { - 'NachoNievaG/atac.nvim', - cmd = 'Atac', - dependencies = { 'akinsho/toggleterm.nvim' }, - config = function() - require('toggleterm').setup({ - open_mapping = [[]], - hide_numbers = true, - shade_terminals = true, - start_in_insert = true, - persist_size = true, - close_on_exit = true, - }) - require('atac').setup({ - dir = '~/Documents/projects/', - }) - end, -} diff --git a/lua/custom/plugins/autopairs.lua b/lua/custom/plugins/autopairs.lua deleted file mode 100755 index 997e534..0000000 --- a/lua/custom/plugins/autopairs.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - 'windwp/nvim-autopairs', - dependencies = { 'hrsh7th/nvim-cmp' }, - event = 'InsertEnter', - config = function() - require('nvim-autopairs').setup({}) - -- If you want to automatically add `(` after selecting a function or method - local cmp_autopairs = require('nvim-autopairs.completion.cmp') - local cmp = require('cmp') - cmp.event:on('confirm_done', cmp_autopairs.on_confirm_done()) - end, -} diff --git a/lua/custom/plugins/diffview.lua b/lua/custom/plugins/diffview.lua deleted file mode 100755 index 74f64b3..0000000 --- a/lua/custom/plugins/diffview.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - 'sindrets/diffview.nvim', - cmd = { 'DiffviewOpen', 'DiffviewClose', 'DiffviewToggleFiles', 'DiffviewFocusFiles' }, - keys = { - { 'gd', 'DiffviewOpen', desc = 'Git: Diffview open' }, - { 'gD', 'DiffviewClose', desc = 'Git: Diffview close' }, - }, - dependencies = { 'nvim-lua/plenary.nvim' }, - opts = {}, -} diff --git a/lua/custom/plugins/images.lua b/lua/custom/plugins/images.lua deleted file mode 100644 index 5bbc166..0000000 --- a/lua/custom/plugins/images.lua +++ /dev/null @@ -1,103 +0,0 @@ -return { - -- { - -- 'vhyrro/luarocks.nvim', - -- priority = 1001, - -- opts = { - -- rocks = { 'magick' }, - -- }, - -- event = 'VeryLazy', -- Adjust this based on your needs - -- }, - -- { - -- 'willothy/wezterm.nvim', - -- config = true, - -- event = 'BufWinEnter', -- Or another appropriate event - -- }, - -- { - -- '3rd/image.nvim', - -- enabled = true, - -- commit = 'deb158d', - -- dev = false, - -- ft = { 'markdown', 'quarto', 'vimwiki' }, - -- config = function() - -- local image = require 'image' - -- image.setup { - -- backend = 'wezterm', - -- integrations = { - -- markdown = { - -- enabled = true, - -- only_render_image_at_cursor = true, - -- filetypes = { 'markdown', 'vimwiki', 'quarto' }, - -- }, - -- }, - -- editor_only_render_when_focused = false, - -- window_overlap_clear_enabled = true, - -- tmux_show_only_in_active_window = true, - -- window_overlap_clear_ft_ignore = { 'cmp_menu', 'cmp_docs', 'scrollview', 'scrollview_sign' }, - -- max_width = nil, - -- max_height = nil, - -- max_width_window_percentage = nil, - -- max_height_window_percentage = 30, - -- kitty_method = 'normal', - -- } - -- - -- local function clear_all_images() - -- local bufnr = vim.api.nvim_get_current_buf() - -- local images = image.get_images { buffer = bufnr } - -- for _, img in ipairs(images) do - -- img:clear() - -- end - -- end - -- - -- local function get_image_at_cursor(buf) - -- local images = image.get_images { buffer = buf } - -- local row = vim.api.nvim_win_get_cursor(0)[1] - 1 - -- for _, img in ipairs(images) do - -- if img.geometry ~= nil and img.geometry.y == row then - -- local og_max_height = img.global_state.options.max_height_window_percentage - -- img.global_state.options.max_height_window_percentage = nil - -- return img, og_max_height - -- end - -- end - -- return nil - -- end - -- - -- local create_preview_window = function(img, og_max_height) - -- local buf = vim.api.nvim_create_buf(false, true) - -- local win_width = vim.api.nvim_get_option_value('columns', {}) - -- local win_height = vim.api.nvim_get_option_value('lines', {}) - -- local win = vim.api.nvim_open_win(buf, true, { - -- relative = 'editor', - -- style = 'minimal', - -- width = win_width, - -- height = win_height, - -- row = 0, - -- col = 0, - -- zindex = 1000, - -- }) - -- vim.keymap.set('n', 'q', function() - -- vim.api.nvim_win_close(win, true) - -- img.global_state.options.max_height_window_percentage = og_max_height - -- end, { buffer = buf }) - -- return { buf = buf, win = win } - -- end - -- - -- local handle_zoom = function(bufnr) - -- local img, og_max_height = get_image_at_cursor(bufnr) - -- if img == nil then - -- return - -- end - -- - -- local preview = create_preview_window(img, og_max_height) - -- image.hijack_buffer(img.path, preview.win, preview.buf) - -- end - -- - -- vim.keymap.set('n', 'io', function() - -- local bufnr = vim.api.nvim_get_current_buf() - -- handle_zoom(bufnr) - -- end, { buffer = true, desc = 'image [o]pen' }) - -- - -- vim.keymap.set('n', 'ic', clear_all_images, { desc = 'image [c]lear' }) - -- end, - -- }, - -- -} diff --git a/lua/custom/plugins/marks.lua b/lua/custom/plugins/marks.lua deleted file mode 100755 index 866fe96..0000000 --- a/lua/custom/plugins/marks.lua +++ /dev/null @@ -1,12 +0,0 @@ -return { - 'chentoast/marks.nvim', - keys = { - { 'm', mode = 'n' }, - { "'", mode = 'n' }, - { '`', mode = 'n' }, - }, - opts = { - default_mappings = true, - default_view = 'vertical', - }, -} diff --git a/lua/custom/plugins/neogen.lua b/lua/custom/plugins/neogen.lua deleted file mode 100755 index da9e4f5..0000000 --- a/lua/custom/plugins/neogen.lua +++ /dev/null @@ -1,35 +0,0 @@ -return { - 'danymat/neogen', - dependencies = { - 'nvim-treesitter/nvim-treesitter', - 'L3MON4D3/LuaSnip', - }, - keys = { - { - 'nf', - function() - require('neogen').generate({ type = 'func' }) - end, - desc = 'Generate function documentation', - }, - { - 'nt', - function() - require('neogen').generate({ type = 'type' }) - end, - desc = 'Generate type documentation', - }, - }, - config = function() - require('neogen').setup({ - enabled = true, - snippet_engine = 'luasnip', -- Using LuaSnip as the snippet engine - }) - end, - cond = function() - -- Only load if Treesitter is installed and available - return vim.fn.exists(':TSInstall') == 2 - end, - -- Uncomment next line if you want to follow only stable versions - -- version = "*" -} diff --git a/lua/custom/plugins/notify.lua b/lua/custom/plugins/notify.lua deleted file mode 100644 index a9ea8b8..0000000 --- a/lua/custom/plugins/notify.lua +++ /dev/null @@ -1,51 +0,0 @@ -return { - 'rcarriga/nvim-notify', - event = 'VeryLazy', - opts = { - timeout = 5000, - stages = 'static', - }, - config = function(_, opts) - local notify = require('notify') - notify.setup(opts) - - -- Override vim.notify to filter out noisy LSP messages - local original_notify = vim.notify - vim.notify = function(msg, level, notify_opts) - -- Suppress Node.js warnings - if type(msg) == 'string' and msg:match('ExperimentalWarning: SQLite') then - return - end - if type(msg) == 'string' and msg:match('DeprecationWarning.*punycode') then - return - end - - -- Suppress copilot errors (harmless race conditions) - if type(msg) == 'string' and msg:match('Cannot find request.*whilst attempting to cancel') then - return - end - if type(msg) == 'string' and msg:match('AbortError: The operation was aborted') then - return - end - if type(msg) == 'string' and msg:match('rate limit exceeded') then - return - end - if type(msg) == 'string' and msg:match('Rate limited by server') then - return - end - - -- Suppress bashls parsing/formatting errors - if type(msg) == 'string' and msg:match('Error while parsing file://') then - return - end - if type(msg) == 'string' and msg:match('Error while formatting.*Shfmt') then - return - end - - original_notify(msg, level, notify_opts) - end - - -- Set as default notifier - vim.notify = notify - end, -} diff --git a/lua/custom/plugins/wezterm.lua b/lua/custom/plugins/wezterm.lua deleted file mode 100644 index 66671b4..0000000 --- a/lua/custom/plugins/wezterm.lua +++ /dev/null @@ -1,6 +0,0 @@ -return { - 'willothy/wezterm.nvim', - opts = { - create_commands = false, - }, -} diff --git a/lua/custom/plugins/zen-mode.lua b/lua/custom/plugins/zen-mode.lua deleted file mode 100755 index 1e01ae6..0000000 --- a/lua/custom/plugins/zen-mode.lua +++ /dev/null @@ -1,42 +0,0 @@ -return { - 'folke/zen-mode.nvim', - command = 'ZenMode', - opts = { - window = { - backdrop = 0.95, -- Transparency level for the zen mode window - width = 0.80, -- 80% of the total editor width - height = 1, -- Full height - options = { - signcolumn = 'no', -- Hide signcolumn in zen mode - number = true, -- Disable line numbers - relativenumber = true, -- Disable relative numbers - }, - }, - plugins = { - wezterm = { - enabled = true, - font = '+2', -- Increase font size in WezTerm by 2 - }, - }, - on_open = function() - -- Configure Neovim options when Zen Mode opens - vim.opt.ruler = false -- Hide ruler - vim.opt.showcmd = false -- Hide command feedback - vim.opt.laststatus = 0 -- Hide status line - end, - on_close = function() - -- Restore Neovim options when Zen Mode closes - vim.opt.ruler = true -- Show ruler - vim.opt.showcmd = true -- Show command feedback - vim.opt.laststatus = 2 -- Show status line - end, - }, - keys = { - { - 'zz', - 'ZenMode', - desc = 'Toggle Zen Mode', - silent = true, - }, - }, -}