This commit is contained in:
iofq 2025-05-17 04:29:48 -05:00
parent 2bab00d2e3
commit f47fc0f76f
8 changed files with 118 additions and 8 deletions

View file

@ -2,6 +2,7 @@ vim.opt.autowrite = true
vim.opt.backspace = 'indent,eol,start'
vim.opt.confirm = true
vim.opt.completeopt = { 'menu', 'menuone', 'noselect' }
vim.opt.diffopt = 'internal,filler,closeoff,inline:char'
vim.opt.expandtab = true -- insert tabs as spaces
vim.opt.inccommand = 'split' -- incremental live completion
vim.opt.list = true
@ -60,8 +61,6 @@ vim.keymap.set('n', '<S-l>', vim.cmd.bnext, { noremap = true, silent = true })
vim.keymap.set('n', '<S-h>', vim.cmd.bprev, { noremap = true, silent = true })
vim.keymap.set('v', '<', '<gv')
vim.keymap.set('v', '>', '>gv')
vim.keymap.set({ 'n', 'v' }, '[[', '{')
vim.keymap.set({ 'n', 'v' }, ']]', '}')
-- resize splits if window got resized
vim.api.nvim_create_autocmd({ 'VimResized' }, {