userplugs.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. return {
  2. {
  3. "aserowy/tmux.nvim",
  4. lazy = false,
  5. },
  6. {
  7. "nvim-treesitter/nvim-treesitter",
  8. opts = {
  9. ensure_installed = {
  10. "julia",
  11. "rust",
  12. "go",
  13. "bash",
  14. "html",
  15. "javascript",
  16. "json",
  17. "lua",
  18. "markdown",
  19. "markdown_inline",
  20. "python",
  21. "query",
  22. "regex",
  23. "tsx",
  24. "typescript",
  25. "vim",
  26. "yaml",
  27. },
  28. indent = {
  29. disable = {
  30. "julia"
  31. }
  32. }
  33. },
  34. },
  35. {
  36. "saghen/blink.cmp",
  37. opts = {
  38. sources = {
  39. default = { "orgmode" },
  40. providers = {
  41. orgmode = {
  42. name = "Orgmode",
  43. module = "orgmode.org.autocompletion.blink",
  44. },
  45. },
  46. },
  47. completion = {
  48. ghost_text = {
  49. enabled = false,
  50. },
  51. },
  52. },
  53. },
  54. -- {
  55. -- "folke/noice.nvim",
  56. -- enabled = false,
  57. -- },
  58. {
  59. "freitass/todo.txt-vim",
  60. },
  61. {
  62. "nvim-orgmode/orgmode",
  63. event = "VeryLazy",
  64. ft = { "org" },
  65. config = function()
  66. -- Setup orgmode
  67. require("orgmode").setup({
  68. org_agenda_files = "~/orgfiles/**/*",
  69. org_default_notes_file = "~/orgfiles/refile.org",
  70. })
  71. -- NOTE: If you are using nvim-treesitter with ~ensure_installed = "all"~ option
  72. -- add ~org~ to ignore_install
  73. -- require('nvim-treesitter.configs').setup({
  74. -- ensure_installed = 'all',
  75. -- ignore_install = { 'org' },
  76. -- })
  77. end,
  78. },
  79. {
  80. "hat0uma/csvview.nvim",
  81. opts = {
  82. parser = { comments = { "#", "//" } },
  83. keymaps = {
  84. -- Text objects for selecting fields
  85. textobject_field_inner = { "if", mode = { "o", "x" } },
  86. textobject_field_outer = { "af", mode = { "o", "x" } },
  87. -- Excel-like navigation:
  88. -- Use <Tab> and <S-Tab> to move horizontally between fields.
  89. -- Use <Enter> and <S-Enter> to move vertically between rows and place the cursor at the end of the field.
  90. -- Note: In terminals, you may need to enable CSI-u mode to use <S-Tab> and <S-Enter>.
  91. jump_next_field_end = { "<Tab>", mode = { "n", "v" } },
  92. jump_prev_field_end = { "<S-Tab>", mode = { "n", "v" } },
  93. jump_next_row = { "<Enter>", mode = { "n", "v" } },
  94. jump_prev_row = { "<S-Enter>", mode = { "n", "v" } },
  95. },
  96. },
  97. cmd = { "CsvViewEnable", "CsvViewDisable", "CsvViewToggle" },
  98. },
  99. {
  100. "neovim/nvim-lspconfig"
  101. }
  102. }