vim.g.mapleader = ' ' vim.g.have_nerd_fonts = true vim.g.autoformat = true vim.g.editorconfig = true vim.wo.number = true vim.opt.background = 'dark' vim.opt.backup = false vim.opt.clipboard:append("unnamedplus") vim.opt.modifiable = true vim.opt.cmdheight = 1 vim.opt.completeopt = { 'menuone', 'noinsert', 'noselect', 'fuzzy', 'popup' } vim.opt.conceallevel = 0 -- vim.opt.concealcursor = "" vim.opt.encoding = "UTF-8" vim.opt.lazyredraw = true vim.opt.redrawtime = 10000 vim.opt.maxmempattern = 20000 vim.opt.synmaxcol = 300 vim.opt.pumheight = 10 vim.opt.pumblend = 10 vim.opt.winblend = 0 vim.opt.hlsearch = true vim.opt.breakindent = true vim.opt.ignorecase = true vim.opt.backspace = "indent,eol,start" vim.opt.formatoptions = "jcroqlnt" vim.opt.grepformat = "%f:%l:%c:%m" vim.opt.grepprg = "rg --vimgrep" vim.opt.ignorecase = true vim.opt.inccommand = "split" vim.opt.list = true vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" } vim.opt.mouse = "a" vim.opt.pumblend = 10 vim.opt.pumheight = 10 vim.opt.showmode = false vim.opt.showmatch = true vim.opt.showtabline = 0 vim.opt.smartcase = true vim.opt.smartindent = true vim.opt.splitbelow = true vim.opt.splitright = true -- vim.opt.splitkeep = "screen" vim.opt.swapfile = false vim.opt.termguicolors = true vim.opt.undofile = true vim.opt.undolevels = 10000 vim.opt.updatetime = 250 -- default 250 vim.opt.timeoutlen = 500 -- default 1000 vim.opt.ttimeoutlen = 0 -- vim.opt.timeout = false vim.opt.autoread = true vim.opt.autowrite = false vim.opt.autochdir = false vim.opt.writebackup = false vim.opt.expandtab = true vim.opt.shiftround = true vim.opt.shiftwidth = 4 vim.opt.softtabstop = 4 vim.opt.tabstop = 4 vim.opt.hidden = true vim.opt.shortmess:append({ W = true, I = true, c = true, C = true }) vim.opt.spelllang = { "en" } vim.opt.selection = "inclusive" vim.opt.cursorline = true vim.opt.number = true vim.opt.relativenumber = true vim.opt.laststatus = 3 vim.opt.showcmd = false vim.opt.ruler = false vim.opt.numberwidth = 4 vim.opt.signcolumn = "yes" vim.opt.wrap = false vim.opt.scrolloff = 8 vim.opt.sidescrolloff = 8 vim.opt.shell = vim.env.SHELL vim.opt.sessionoptions = { "blank", "buffers", "curdir", "tabpages", "winsize", "winpos", "terminal", "localoptions", "help", "skiprtp", "folds" } vim.opt.virtualedit = "block" vim.opt.wildmode = "longest:full,full" vim.opt.diffopt:append("linematch:60") vim.opt.winminwidth = 5 -- vim.opt.hidden = false -- vim.opt.cindent = true -- vim.opt.autoindent = true if vim.fn.has("nvim-0.10") == 1 then vim.opt.smoothscroll = true end vim.opt.foldmethod = "expr" vim.opt.foldexpr = "v:lua.vim.treesitter.foldexpr()" vim.opt.foldlevel = 99 vim.opt.errorbells = false vim.opt.belloff = "all" vim.opt.undodir = vim.fn.stdpath('data') .. "/undodir" vim.opt.incsearch = true vim.opt.fillchars = { eob = " " } vim.opt.iskeyword:append("-") vim.opt.path:append("**") vim.opt.colorcolumn = "100" vim.diagnostic.config({ virtual_text = { current_line = true } }) vim.filetype.add({ extension = { ['http'] = 'http', }, }) vim.pack.add({ { src = 'https://github.com/3rd/image.nvim' }, { src = "https://github.com/folke/snacks.nvim" }, { src = "https://github.com/folke/trouble.nvim" }, { src = "https://github.com/olimorris/codecompanion.nvim" }, { src = 'https://github.com/Civitasv/cmake-tools.nvim' }, { src = 'https://github.com/Davidyz/VectorCode' }, { src = 'https://github.com/Glhou/jjsigns.nvim', version = 'fix/skip-extra-lines' }, { src = 'https://github.com/HakonHarnes/img-clip.nvim' }, { src = 'https://github.com/JoosepAlviste/nvim-ts-context-commentstring' }, { src = 'https://github.com/L3MON4D3/LuaSnip' }, { src = 'https://github.com/MeanderingProgrammer/render-markdown.nvim' }, { src = 'https://github.com/MeanderingProgrammer/render-markdown.nvim' }, { src = 'https://github.com/MunifTanjim/nui.nvim' }, { src = 'https://github.com/NeogitOrg/neogit' }, { src = 'https://github.com/NicolasGB/jj.nvim' }, { src = 'https://github.com/PhantomYdn/fabric-ai.nvim' }, { src = 'https://github.com/Saecki/crates.nvim' }, { src = 'https://github.com/Saghen/blink.cmp', version = vim.version.range('1.*') }, { src = 'https://github.com/SjB/orgmode', version = 'sjb-wip' }, { src = 'https://github.com/SmiteshP/nvim-navic' }, { src = 'https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim' }, { src = 'https://github.com/akinsho/org-bullets.nvim' }, { src = 'https://github.com/akinsho/toggleterm.nvim' }, { src = 'https://github.com/al1-ce/just.nvim' }, { src = 'https://github.com/cairijun/codecompanion-agentskills.nvim' }, { src = 'https://github.com/carlos-algms/agentic.nvim' }, { src = 'https://github.com/chipsenkbeil/org-roam.nvim' }, { src = 'https://github.com/christoomey/vim-tmux-navigator' }, -- { src = 'https://github.com/copilotlsp-nvim/copilot-lsp' }, { src = 'https://github.com/esmuellert/codediff.nvim' }, { src = 'https://github.com/fang2hou/blink-copilot' }, { src = 'https://github.com/folke/flash.nvim' }, { src = 'https://github.com/folke/persistence.nvim' }, { src = 'https://github.com/folke/todo-comments.nvim' }, { src = 'https://github.com/folke/which-key.nvim' }, { src = 'https://github.com/franco-ruggeri/codecompanion-spinner.nvim' }, { src = 'https://github.com/hat0uma/csvview.nvim' }, { src = 'https://github.com/hedyhli/outline.nvim' }, { src = 'https://github.com/iamcco/markdown-preview.nvim' }, { src = 'https://github.com/j-hui/fidget.nvim' }, { src = 'https://github.com/jay-babu/mason-nvim-dap.nvim' }, { src = 'https://github.com/julienvincent/hunk.nvim' }, { src = 'https://github.com/lervag/vimtex' }, { src = 'https://github.com/lewis6991/gitsigns.nvim' }, { src = 'https://github.com/mbbill/undotree' }, { src = 'https://github.com/SjB/meow.review.nvim', version = 'fix-invalid-buffer-id' }, { src = 'https://github.com/mfussenegger/nvim-ansible' }, { src = 'https://github.com/mfussenegger/nvim-dap' }, { src = 'https://github.com/mistweaverco/kulala.nvim' }, { src = 'https://github.com/moyiz/blink-emoji.nvim' }, { src = 'https://github.com/neovim/nvim-lspconfig' }, { src = 'https://github.com/nvim-lua/plenary.nvim' }, { src = 'https://github.com/nvim-lualine/lualine.nvim' }, { src = 'https://github.com/nvim-mini/mini.ai' }, { src = 'https://github.com/nvim-mini/mini.align' }, { src = 'https://github.com/nvim-mini/mini.bracketed' }, { src = 'https://github.com/nvim-mini/mini.extra' }, { src = 'https://github.com/nvim-mini/mini.files' }, { src = 'https://github.com/nvim-mini/mini.hipatterns' }, { src = 'https://github.com/nvim-mini/mini.move' }, { src = 'https://github.com/nvim-mini/mini.operators' }, { src = 'https://github.com/nvim-mini/mini.sessions' }, { src = 'https://github.com/nvim-mini/mini.splitjoin' }, { src = 'https://github.com/nvim-mini/mini.surround' }, { src = 'https://github.com/nvim-neotest/nvim-nio' }, { src = 'https://github.com/nvim-pack/nvim-spectre' }, { src = 'https://github.com/nvim-tree/nvim-web-devicons' }, { src = 'https://github.com/nvim-treesitter/nvim-treesitter', version = 'main' }, { src = 'https://github.com/nvim-treesitter/nvim-treesitter-context' }, { src = 'https://github.com/nvim-treesitter/nvim-treesitter-context' }, { src = 'https://github.com/nvim-treesitter/nvim-treesitter-textobjects', version = 'main' }, { src = 'https://github.com/romus204/tree-sitter-manager.nvim' }, { src = 'https://github.com/obsidian-nvim/obsidian.nvim' }, { src = 'https://github.com/otavioschwanck/arrow.nvim' }, { src = 'https://github.com/rafamadriz/friendly-snippets' }, { src = 'https://github.com/rafikdraoui/jj-diffconflicts' }, { src = 'https://github.com/ravitemer/codecompanion-history.nvim' }, { src = 'https://github.com/ravitemer/codecompanion-history.nvim' }, { src = 'https://github.com/rcarriga/nvim-dap-ui' }, { src = 'https://github.com/salkin-mada/openscad.nvim' }, { src = 'https://github.com/sheng-tse/jupynvim' }, { src = 'https://github.com/sindrets/diffview.nvim' }, { src = 'https://github.com/stevearc/conform.nvim' }, { src = 'https://github.com/stevearc/overseer.nvim' }, { src = 'https://github.com/stevearc/quicker.nvim' }, { src = 'https://github.com/ten3roberts/window-picker.nvim' }, { src = 'https://github.com/thunder-coding/zincoxide' }, { src = 'https://github.com/ttgrules/cc-adapter-copilot-cli-acp' }, { src = 'https://github.com/uhs-robert/sshfs.nvim' }, { src = 'https://github.com/utilyre/barbecue.nvim' }, { src = 'https://github.com/williamboman/mason-lspconfig.nvim' }, { src = 'https://github.com/williamboman/mason.nvim' }, { src = 'https://github.com/zbirenbaum/copilot.lua' }, { src = 'https://plugins.ejri.dev/mise.nvim' }, })