all repos

init.lua @ d7db507

my nvim config

init.lua/lua/plugins/core.lua(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---@type LazySpec
return {
  "nvim-lua/plenary.nvim",
  { "tpope/vim-surround", keys = { "c", "d", "y" } },
  { "tpope/vim-repeat", event = "VeryLazy" },
  { "tpope/vim-speeddating", keys = { "<C-a>", "<C-x>" } },
  { "wakatime/vim-wakatime", event = "VeryLazy" },
  { "OXY2DEV/markview.nvim", ft = "markdown" },
  {
    "bngarren/checkmate.nvim",
    ft = "markdown",
    ---@module "checkmate"
    ---@type checkmate.Config
    ---@diagnostic disable-next-line: missing-fields
    opts = {
      files = { "Projects/*", "Journal/*", ".todo", ".pali" },
      keys = {
        ["<localleader>t"] = { rhs = "<cmd>Checkmate toggle<CR>" },
      },
    },
  },
  {
    "folke/tokyonight.nvim",
    opts = { style = "night" },
    init = function()
      vim.cmd.colorscheme "tokyonight"
    end,
  },
  {
    "oysandvik94/curl.nvim",
    version = false,
    cmd = { "CurlOpen", "CurlCollection" },
    ---@module "curl"
    ---@type curl_config
    ---@diagnostic disable-next-line: missing-fields
    opts = {
      default_flags = { "-i" },
      open_with = "vsplit",
    },
  },
  {
    "folke/todo-comments.nvim",
    event = "BufRead",
    config = function()
      require("todo-comments").setup {}
    end,
  },
}