['marker'] = {'fg', 'Keyword'},
['spinner'] = {'fg', 'Label'},
['header'] = {'fg', 'Comment'}
+ },
+ previewers = {
+ builtin = {
+ extensions = {
+ ["png"] = { "chafa", "-f", "symbols", "{file}" },
+ ["gif"] = { "chafa", "-f", "symbols", "{file}" },
+ ["svg"] = { "chafa", "-f", "symbols", "{file}" },
+ ["jpg"] = { "chafa", "-f", "symbols", "{file}" },
+ ["jpeg"] = { "chafa", "-f", "symbols", "{file}" }
+ }
+ }
}
})
end
-- Syntaxes
'ARM9/snes-syntax-vim',
'https://git.sr.ht/~torresjrjr/gemini.vim',
+ { "folke/neodev.nvim", opts = {} },
-- Debugging
'mfussenegger/nvim-dap',
'tpope/vim-endwise',
'rstacruz/vim-closer',
'michaeljsmith/vim-indent-object',
+ {
+ 'Pocco81/auto-save.nvim',
+ opts = {
+ condition = function(buf)
+ local fn = vim.fn
+ local utils = require('auto-save.utils.data')
+
+ if fn.getbufvar(buf, '&modifiable') == 1
+ and utils.not_in(fn.getbufvar(buf, '&filetype'), {'oil'}) then
+ return true
+ end
+ return false
+ end,
+ }
+ },
+ {
+ 'danymat/neogen',
+ config = true
+ },
-- Treesitter
'nvim-treesitter/nvim-treesitter',
'vim-scripts/LargeFile',
'tpope/vim-fugitive',
'milkypostman/vim-togglelist',
+ { 'stevearc/oil.nvim', opts = {
+ keymaps = {
+ ["<C-p>"] = false,
+ ["<C-S-p>"] = "actions.preview"
+ }
+ } },
- -- Org Mode
- { 'nvim-orgmode/orgmode',
- event = 'VeryLazy',
- config = function()
- -- Load treesitter grammar for org
- require('orgmode').setup_ts_grammar()
-
- -- Setup orgmode
- require('orgmode').setup({
- org_agenda_files = '~/brain/**/*.org',
- org_default_notes_file = '~/brain/inbox.org',
- })
- end,
- }
+ 'https://git.sr.ht/~rbdr/nota.nvim'
})