callback = function () vim.opt.filetype = 'snes' end
})
+vim.api.nvim_create_autocmd({'BufNewFile', 'BufRead'}, {
+ pattern = {'.plan'},
+ callback = function () vim.opt.filetype = 'markdown' end
+})
+
-------------------------------------------------------------------------------
-- Local Overrides
-------------------------------------------------------------------------------
-- Plugin Specific Behavior
-------------------------------------------------------------------------------
-- FZF
-vim.keymap.set("n", "<c-P>",
+vim.keymap.set('n', '<c-P>',
"<cmd>lua require('fzf-lua').files({ fzf_opts = {} })<CR>", { silent = true })
-- Toggle Autosave
}
}
+-- Oil
+vim.keymap.set("n", "-", "<CMD>Oil<CR>", { desc = "Open parent directory" })
+
-- Plugins
require('plugins')
require('treesitter_config')
require('lsp')
require('dap_config')
-require('brain')
+require('calendar_tools')