๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

:boom: back to lazyvim

+3 -319
-3
.config/nvim.bak/init.lua
··· 1 - -- bootstrap lazy.nvim, LazyVim and your plugins 2 - require("config.lazy") 3 - vim.cmd.colorscheme("catppuccin")
.config/nvim.bak/lua/config/autocmds.lua .config/nvim/lua/config/autocmds.lua
.config/nvim.bak/lua/config/keymaps.lua .config/nvim/lua/config/keymaps.lua
.config/nvim.bak/lua/config/lazy.lua .config/nvim/lua/config/lazy.lua
.config/nvim.bak/lua/config/options.lua .config/nvim/lua/config/options.lua
.config/nvim.bak/lua/plugins/colorscheme.lua .config/nvim/lua/plugins/colorscheme.lua
.config/nvim.bak/lua/plugins/comfy_line_numbers.lua .config/nvim/lua/plugins/comfy_line_numbers.lua
.config/nvim.bak/lua/plugins/conform.lua .config/nvim/lua/plugins/conform.lua
.config/nvim.bak/lua/plugins/core.lua .config/nvim/lua/plugins/core.lua
.config/nvim.bak/lua/plugins/disable.lua .config/nvim/lua/plugins/disable.lua
.config/nvim.bak/lua/plugins/linter.lua .config/nvim/lua/plugins/linter.lua
+1 -1
.config/nvim.bak/lua/plugins/lsp.lua .config/nvim/lua/plugins/lsp.lua
··· 3 3 opts = { 4 4 servers = { 5 5 yamlls = { settings = { redhat = { telemetry = { enabled = false } } } }, 6 - lua_ls = { settings = { Lua = { diagnostics = { globals = { "vim" } } } } }, 6 + lua_ls = { settings = { Lua = { diagnostics = { globals = { "vim", "require" } } } } }, 7 7 8 8 tailwindcss = { 9 9 filetypes_include = { "gleam" },
.config/nvim.bak/lua/plugins/lualine.lua .config/nvim/lua/plugins/lualine.lua
.config/nvim.bak/lua/plugins/mason.lua .config/nvim/lua/plugins/mason.lua
.config/nvim.bak/lua/plugins/mini_icons.lua .config/nvim/lua/plugins/mini_icons.lua
.config/nvim.bak/lua/plugins/mini_surround.lua .config/nvim/lua/plugins/mini_surround.lua
.config/nvim.bak/lua/plugins/noice.lua .config/nvim/lua/plugins/noice.lua
.config/nvim.bak/lua/plugins/quicker.lua .config/nvim/lua/plugins/quicker.lua
.config/nvim.bak/lua/plugins/render_markdown.lua .config/nvim/lua/plugins/render_markdown.lua
.config/nvim.bak/lua/plugins/snacks.lua .config/nvim/lua/plugins/snacks.lua
.config/nvim.bak/lua/plugins/snacks_dashboard.lua .config/nvim/lua/plugins/snacks_dashboard.lua
.config/nvim.bak/lua/plugins/todo_comments.lua .config/nvim/lua/plugins/todo_comments.lua
.config/nvim.bak/lua/plugins/treesitter.lua .config/nvim/lua/plugins/treesitter.lua
.config/nvim.bak/lua/plugins/which_key.lua .config/nvim/lua/plugins/which_key.lua
.config/nvim.bak/snippets/all.json .config/nvim/snippets/all.json
.config/nvim.bak/snippets/languages/gleam.json .config/nvim/snippets/languages/gleam.json
.config/nvim.bak/snippets/languages/go.json .config/nvim/snippets/languages/go.json
.config/nvim.bak/snippets/languages/javascript.json .config/nvim/snippets/languages/javascript.json
.config/nvim.bak/snippets/languages/json.json .config/nvim/snippets/languages/json.json
.config/nvim.bak/snippets/languages/typescript.json .config/nvim/snippets/languages/typescript.json
.config/nvim.bak/snippets/languages/zig.json .config/nvim/snippets/languages/zig.json
.config/nvim.bak/snippets/package.json .config/nvim/snippets/package.json
.config/nvim.bak/snippets/utils/blocks.json .config/nvim/snippets/utils/blocks.json
.config/nvim.bak/snippets/utils/box-drawing-characters.json .config/nvim/snippets/utils/box-drawing-characters.json
+2
.config/nvim/init.lua
··· 1 + require("config.lazy") 2 + vim.cmd.colorscheme("catppuccin")
-12
.config/nvim/lua/autocmds.lua
··· 1 - local autocmd = vim.api.nvim_create_autocmd 2 - local augroup = vim.api.nvim_create_augroup 3 - 4 - -- Highlight yanked text 5 - local highlight_group = augroup('YankHighlight', { clear = true }) 6 - autocmd('TextYankPost', { 7 - pattern = '*', 8 - callback = function() 9 - vim.highlight.on_yank({ timeout = 170 }) 10 - end, 11 - group = highlight_group, 12 - })
-16
.config/nvim/lua/keymaps.lua
··· 1 - local map = vim.keymap.set 2 - local opts = { noremap = true, silent = true } 3 - 4 - vim.g.leader = " " 5 - map("n", "<leader>", "<Nop>") 6 - 7 - map("n", "<S-l>", "<cmd>bnext<cr>", { desc = "Next buffer" }) 8 - map("n", "<S-h>", "<cmd>bprevious<cr>", { desc = "Previous buffer" }) 9 - map("n", "[b", "<cmd>bprevious<cr>", { desc = "Prev Buffer" }) 10 - map("n", "]b", "<cmd>bnext<cr>", { desc = "Next Buffer" }) 11 - 12 - -- Window management 13 - map("n", "<C-h>", "<C-w>h", { desc = "Go to Left Window", remap = true }) 14 - map("n", "<C-j>", "<C-w>j", { desc = "Go to Lower Window", remap = true }) 15 - map("n", "<C-k>", "<C-w>k", { desc = "Go to Upper Window", remap = true }) 16 - map("n", "<C-l>", "<C-w>l", { desc = "Go to Right Window", remap = true })
-115
.config/nvim/lua/options.lua
··· 1 - local opt = vim.opt 2 - 3 - opt.number = true -- Line numbers 4 - opt.relativenumber = true -- Relative line numbers 5 - opt.cursorline = true -- Highlight current line 6 - opt.wrap = false -- Dont wrap lines 7 - opt.scrolloff = 10 8 - opt.sidescrolloff = 8 9 - 10 - -- Indentation 11 - opt.tabstop = 4 -- Tab width 12 - opt.shiftwidth = 4 -- Indent width 13 - opt.softtabstop = 4 -- Soft tab stop 14 - opt.expandtab = true -- Use spaces instead of tabs 15 - opt.smartindent = true -- Smart auto-indenting 16 - opt.autoindent = true -- Conpy indent from current line 17 - 18 - -- Search settings 19 - opt.ignorecase = true -- Case insensitive search 20 - opt.smartcase = true -- Case sensitive if uppercase in search 21 - opt.hlsearch = true -- Dont highlight search results 22 - opt.incsearch = true -- Show matches as you search 23 - 24 - -- Visual settings 25 - opt.termguicolors = true -- Enable 24-bit colors 26 - opt.signcolumn = "yes" -- Always show sign column 27 - opt.showmatch = true -- Highlight matching brackets 28 - opt.matchtime = 2 -- How long to show matching bracket 29 - opt.cmdheight = 1 -- Command line height 30 - opt.showmode = true -- Show mode in command line 31 - opt.pumheight = 10 -- Popup menu height 32 - opt.pumblend = 10 -- Popup menu transparency 33 - opt.winblend = 0 -- Floating window transparency 34 - opt.completeopt = "menu,menuone,noselect" 35 - opt.conceallevel = 2 -- Hide * markup for bold and italic, but not markers with substitutions 36 - opt.confirm = true -- Confirm to save changes before exiting modified buffer 37 - opt.concealcursor = "" -- Don't hide cursor line markup 38 - opt.synmaxcol = 300 -- Syntax highlighting limit 39 - opt.ruler = false -- Disable the default ruler 40 - opt.virtualedit = "block" -- Allow cursor to move where there is no text in visual block mode 41 - opt.winminwidth = 5 -- Minimum window width 42 - 43 - -- File handling 44 - opt.undofile = true -- Persistent undo 45 - opt.undolevels = 10000 46 - opt.undodir = vim.fn.expand("~/.vim/undodir") -- Undo directory 47 - opt.updatetime = 300 -- Faster completion 48 - opt.autoread = true -- Auto reload files changed outside vim 49 - opt.autowrite = true -- Auto save 50 - 51 - -- Behaviour settings 52 - opt.hidden = true -- Allow hidden buffers 53 - opt.errorbells = false -- No error bells 54 - opt.backspace = "indent,eol,start" -- Better backspace behavior 55 - opt.autochdir = false -- Don't auto change directory 56 - opt.iskeyword:append("-") -- Treat dash as part of word 57 - opt.path:append("**") -- include subdirectories in search 58 - opt.selection = "exclusive" -- Selection behavior 59 - opt.mouse = "a" -- Enable mouse support 60 - opt.clipboard = "unnamedplus" -- Sync with system clipboard 61 - opt.modifiable = true -- Allow buffer modifications 62 - opt.encoding = "UTF-8" -- Set encoding 63 - 64 - -- Folding settings 65 - opt.smoothscroll = true 66 - vim.wo.foldmethod = "expr" 67 - opt.foldlevel = 99 -- Start with all folds open 68 - opt.formatoptions = "jcroqlnt" -- tcqj 69 - opt.grepformat = "%f:%l:%c:%m" 70 - opt.grepprg = "rg --vimgrep" 71 - 72 - -- Split behavior 73 - opt.splitbelow = true -- Horizontal splits go below 74 - opt.splitright = true -- Vertical splits go right 75 - opt.splitkeep = "screen" 76 - 77 - -- Command-line completion 78 - opt.wildmenu = true 79 - opt.wildmode = "longest:full,full" 80 - opt.wildignore:append({ "*.o", "*.obj", "*.pyc", "*.class", "*.jar" }) 81 - 82 - -- Better diff options 83 - opt.diffopt:append("linematch:60") 84 - 85 - -- Performance improvements 86 - opt.redrawtime = 10000 87 - opt.maxmempattern = 20000 88 - 89 - -- Create undo directory if it doesn't exist 90 - local undodir = vim.fn.expand("~/.vim/undodir") 91 - if vim.fn.isdirectory(undodir) == 0 then 92 - vim.fn.mkdir(undodir, "p") 93 - end 94 - 95 - vim.g.autoformat = true 96 - 97 - -- Visual polish 98 - opt.fillchars = { 99 - foldopen = "", 100 - foldclose = "", 101 - fold = " ", 102 - foldsep = " ", 103 - diff = "โ•ฑ", 104 - eob = " ", 105 - } 106 - 107 - opt.jumpoptions = "view" 108 - opt.laststatus = 3 -- global statusline 109 - opt.list = false 110 - opt.linebreak = true -- Wrap lines at convenient points 111 - opt.list = true -- Show some invisible characters (tabs... 112 - opt.shiftround = true -- Round indent 113 - opt.shiftwidth = 2 -- Size of an indent 114 - opt.shortmess:append({ W = true, I = true, c = true, C = true }) 115 -
-29
.config/nvim/nvim-pack-lock.json
··· 1 - { 2 - "plugins": { 3 - "blink.cmp": { 4 - "rev": "451168851e8e2466bc97ee3e026c3dcb9141ce07", 5 - "src": "https://github.com/saghen/blink.cmp", 6 - "version": "1.0.0 - 2.0.0" 7 - }, 8 - "conform.nvim": { 9 - "rev": "086a40dc7ed8242c03be9f47fbcee68699cc2395", 10 - "src": "https://github.com/stevearc/conform.nvim" 11 - }, 12 - "mini.nvim": { 13 - "rev": "3923662bf3d6ca49a9503f8d7196ea0450983e6a", 14 - "src": "https://github.com/nvim-mini/mini.nvim" 15 - }, 16 - "nvim": { 17 - "rev": "60cf331ed7ecb19617c32bf61eb0da78c4c7bb05", 18 - "src": "https://github.com/catppuccin/nvim" 19 - }, 20 - "nvim-lspconfig": { 21 - "rev": "8e2084bf5e40c79c1f42210a6ef96a0a4793a763", 22 - "src": "https://github.com/neovim/nvim-lspconfig" 23 - }, 24 - "nvim-treesitter": { 25 - "rev": "6878ae017d691a0df1c49d8a091c88a33e4c2d50", 26 - "src": "https://github.com/nvim-treesitter/nvim-treesitter" 27 - } 28 - } 29 - }
-14
.config/nvim/plugin/catppuccin.lua
··· 1 - vim.pack.add({ "https://github.com/catppuccin/nvim" }) 2 - 3 - require("catppuccin").setup({ 4 - flavour = "mocha", 5 - transparent_background = true, 6 - term_colors = false, 7 - default_integrations = true, 8 - float = { 9 - transparent = true, 10 - solid = true, 11 - }, 12 - }) 13 - 14 - vim.cmd.colorscheme("catppuccin-nvim")
-17
.config/nvim/plugin/conform.lua
··· 1 - vim.pack.add({ "https://github.com/stevearc/conform.nvim" }) 2 - 3 - require("conform").setup({ 4 - format_on_save = { timeout_ms = 500, lsp_format = "fallback" }, 5 - 6 - formaters_by_ft = { 7 - gleam = { "gleam" }, 8 - sql = { "sqruff" } 9 - } 10 - }) 11 - 12 - vim.api.nvim_create_autocmd("BufWritePre", { 13 - pattern = "*", 14 - callback = function(args) 15 - require("conform").format({ bufnr = args.buf }) 16 - end, 17 - })
-32
.config/nvim/plugin/mini.lua
··· 1 - local map = vim.keymap.set 2 - vim.pack.add({ "https://github.com/nvim-mini/mini.nvim" }) 3 - 4 - require("mini.basics").setup() 5 - require("mini.ai").setup() 6 - require("mini.icons").setup() 7 - require("mini.pairs").setup() 8 - require("mini.move").setup() 9 - require("mini.pick").setup() 10 - require("mini.cmdline").setup() 11 - 12 - -- surround 13 - require("mini.surround").setup({ 14 - mappings = { 15 - add = ";;", 16 - delete = ";d", 17 - find = ";f", 18 - find_left = ";F", 19 - highlight = ";h", 20 - replace = ";r", 21 - update_n_lines = ";n", 22 - }, 23 - }) 24 - 25 - -- files 26 - require("mini.files").setup() 27 - map("n", "<leader>e", function() 28 - require("mini.files").open() 29 - end 30 - ) 31 - 32 - require("mini.notify").setup()
-30
.config/nvim/plugin/nvim-lspconfig.lua
··· 1 - local map = vim.keymap.set 2 - vim.pack.add({ 'https://github.com/neovim/nvim-lspconfig' }) 3 - 4 - map("n", "<leader>ca", function() 5 - vim.lsp.buf.code_action() 6 - end 7 - ) 8 - 9 - -- lua 10 - vim.lsp.enable({ "lua_ls" }) 11 - vim.lsp.config('lua_ls', { 12 - settings = { 13 - Lua = { 14 - runtime = { version = 'LuaJIT' }, 15 - diagnostics = { globals = { 'vim', 'require' } }, 16 - workspace = { library = vim.api.nvim_get_runtime_file("", true) }, 17 - telemetry = { enable = false }, 18 - } 19 - } 20 - }) 21 - 22 - -- gleam 23 - vim.lsp.enable({ "gleam" }) 24 - vim.lsp.config("gleam", { 25 - cmd = { "gleam", "lsp" } 26 - }) 27 - 28 - vim.lsp.enable({ "sqruff" }) 29 - 30 - vim.diagnostic.config({ virtual_text = true })
-11
.config/nvim/plugin/nvim-treesitter.lua
··· 1 - vim.api.nvim_create_autocmd("PackChanged", { callback = function(ev) 2 - local name,kind = ev.data.spec.name, ev.data.spec.kind 3 - if name == "nvim-treesitter" and kind == "update" then 4 - if not ev.data.active then vim.cmd.packadd("nvim-treesitter") end 5 - vim.cmd("TSUpdate") 6 - end 7 - end 8 - }) 9 - 10 - vim.pack.add({"https://github.com/nvim-treesitter/nvim-treesitter"}) 11 -
-3
.config/nvim/stylua.toml
··· 1 - indent_type = "Spaces" 2 - indent_width = 2 3 - column_width = 120