A very fast neovim config :D
at master 123 lines 4.0 kB view raw
1return { 2 { "nvim-lua/plenary.nvim" }, 3 { "numToStr/Comment.nvim", event = "BufReadPost", config = true }, 4 { "kylechui/nvim-surround", event = "BufReadPost", config = true }, 5 { "nanotee/zoxide.vim", cmd = "Z" }, 6 { "folke/todo-comments.nvim", event = "BufReadPost", dependency = { "folke/trouble.nvim" }, config = true }, 7 { 8 "eandrju/cellular-automaton.nvim", 9 keys = { 10 { "<leader>mr", "<cmd>CellularAutomaton make_it_rain<CR>", desc = "Make it rain" }, 11 }, 12 }, 13 { 14 "stevearc/oil.nvim", 15 config = true, 16 cmd = "Oil", 17 keys = { 18 { "-", "<cmd>Oil<CR>", desc = "Open filetree" }, 19 }, 20 opts = { 21 default_file_explorer = true, 22 skip_confirm_for_simple_edits = true, 23 columns = { 24 "permissions", 25 "size", 26 }, 27 }, 28 }, 29 { 30 "psynyde/mono", 31 lazy = false, 32 priority = 1000, 33 config = function() 34 vim.cmd.colorscheme("mono") 35 end, 36 }, 37 { 38 "brenoprata10/nvim-highlight-colors", 39 cmd = "HighlightColors", 40 keys = { 41 { "<leader>ct", "<cmd>HighlightColors On<CR>", desc = "turns on color highlight" }, 42 }, 43 opts = { 44 render = "virtual", 45 virtual_symbol = "", 46 }, 47 }, 48 { 49 "IogaMaster/neocord", 50 event = "BufReadPost", 51 config = function() 52 require("neocord").setup({ 53 logo = "https://cdn.discordapp.com/emojis/958427651931009096.gif", -- paimon eat 54 -- logo = "https://cdn.discordapp.com/emojis/1122517797386322042.webp", --nvim 55 -- logo = "https://cdn.discordapp.com/emojis/1214902873020964915.gif" -- pepe boat 56 logo_tooltip = "neovim btw :D", 57 main_image = "language", 58 show_time = false, 59 global_timer = true, 60 -- editing_text = "cat /dev/random >> %s", 61 }) 62 end, 63 }, 64 { 65 "windwp/nvim-autopairs", 66 event = "InsertEnter", 67 opts = { 68 fast_wrap = {}, 69 disable_filetype = { "TelescopePrompt", "vim" }, 70 }, 71 config = function(_, opts) 72 require("nvim-autopairs").setup(opts) 73 74 -- setup cmp for autopairs 75 -- local cmp_autopairs = require("nvim-autopairs.completion.cmp") 76 -- require("cmp").event:on("confirm_done", cmp_autopairs.on_confirm_done()) 77 end, 78 }, 79 { 80 "folke/flash.nvim", 81 event = "InsertEnter", 82 opts = { 83 prompt = { 84 enabled = true, 85 prefix = { { ">", "FlashPromptIcon" } }, 86 win_config = { 87 relative = "editor", 88 width = 1, -- when <=1 it's a percentage of the editor width 89 height = 1, 90 row = -1, -- when negative it's an offset from the bottom 91 col = 0, -- when negative it's an offset from the right 92 zindex = 1000, 93 }, 94 }, 95 }, 96 keys = { 97 { 98 "zk", 99 mode = { "n", "x", "o" }, 100 function() 101 require("flash").jump() 102 end, 103 desc = "Flash", 104 }, 105 }, 106 }, 107 { 108 "chomosuke/typst-preview.nvim", 109 ft = "typst", 110 version = "1.*", 111 opts = { 112 debug = true, 113 open_cmd = "zen %s", 114 dependencies_bin = { 115 -- make sure these are available in $PATH. 116 -- Comment the lines below to automatically download these bin. 117 -- NOTE: downloaded bin doesn't work on nixos D: 118 ["tinymist"] = "tinymist", 119 ["websocat"] = "websocat", 120 }, 121 }, 122 }, 123}