vim.opt.number = true -- Show number column
vim.opt.wrap = false -- Don't wrap text
vim.opt.list = true -- Display tabs and trailing space
+vim.opt.cursorline = true -- Highlight cursor line
vim.opt.colorcolumn='80,150' -- Show color columns
-- Color
vim.opt.termguicolors = true
-vim.cmd.color('rbdr')
+vim.cmd.color('tranquil')
-- Tab Style (Always override with editorconfig)
vim.opt.tabstop = 2 -- 2 Spaces per tab
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')