add editor config

This commit is contained in:
Tim Redband 2024-03-25 16:40:36 -04:00
parent 4c8dd5cc90
commit 3224136dab
3 changed files with 23 additions and 1 deletions

View file

@ -162,6 +162,7 @@ vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
vim.opt.shell = 'cmd.exe'
vim.opt.autoread = true
vim.opt.expandtab = true
vim.opt.tabstop = 4
-- Diagnostic keymaps
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' })
@ -747,7 +748,12 @@ require('lazy').setup({
},
-- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
{
'folke/todo-comments.nvim',
event = 'VimEnter',
dependencies = { 'nvim-lua/plenary.nvim' },
opts = { signs = false },
},
{ -- Collection of various small independent plugins/modules
'echasnovski/mini.nvim',