My simple neovim config
0
fork

Configure Feed

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

updates

+27 -4
+1
lazy-lock.json
··· 26 26 "undotree": { "branch": "master", "commit": "28f2f54a34baff90ea6f4a735ef1813ad875c743" }, 27 27 "vim-fugitive": { "branch": "master", "commit": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4" }, 28 28 "which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }, 29 + "zen-mode.nvim": { "branch": "main", "commit": "dfcb72a2dfeedc5342b2ee3a68c83243d682ba3c" }, 29 30 "zig.vim": { "branch": "master", "commit": "f65ae7a570b71d7a7aa4978ff9ac327e04a36e1e" } 30 31 }
+1
lua/mappings.lua
··· 13 13 map({ "n", "v" }, "<leader>p", '"+p', { desc = "Paste from clipboard" }) 14 14 map({ "n", "v" }, "<leader>y", '"+y', { desc = "Yank to clipboard" }) 15 15 map("t", "<ESC>", "<C-\\><C-n>", { desc = "Exit terminal" }) 16 + map("n", "<leader>zz", "<cmd>ZenMode<CR>", { desc = "Toggle ZendMode" }) 16 17 17 18 -- Register LSP mappings 18 19 vim.api.nvim_create_autocmd("LspAttach", {
+17 -4
lua/plugins/conform.lua
··· 1 1 return { 2 2 { 3 3 "stevearc/conform.nvim", 4 + cond = function() 5 + local folder = "/Users/ethan/Documents/work/openfe/openfe" 6 + local cwd = vim.loop.cwd() -- current working directory 7 + -- Normalize both paths 8 + local function normalize(path) 9 + return vim.fs.normalize(path or "") 10 + end 11 + cwd = normalize(cwd) 12 + folder = normalize(folder) 13 + 14 + -- Check if cwd starts with folder path 15 + return cwd:sub(1, #folder) ~= folder 16 + end, 4 17 opts = { 5 18 formatters_by_ft = { 6 19 lua = { "stylua" }, 7 20 python = { "ruff_format" }, 8 21 terraform = { "tofu_fmt" }, 9 - astro = { "biome" }, 10 - svelte = { "biome" }, 11 - typescript = { "biome" }, 12 - javascript = { "biome" }, 22 + astro = { "prettierd", "prettier", stop_after_first = true }, 23 + svelte = { "prettierd", "prettier", stop_after_first = true }, 24 + typescript = { "prettierd", "prettier", stop_after_first = true }, 25 + javascript = { "prettierd", "prettier", stop_after_first = true }, 13 26 }, 14 27 format_on_save = { 15 28 timeout_ms = 500,
+8
lua/plugins/zen.lua
··· 1 + return { 2 + "folke/zen-mode.nvim", 3 + opts = { 4 + window = { 5 + width = 0.50, 6 + }, 7 + }, 8 + }