add some custom stuff

This commit is contained in:
Zach Drone 2024-11-30 19:35:03 -05:00
parent 8d1ef972bc
commit 464fc8ac81
3 changed files with 20 additions and 8 deletions

2
lua/custom/keymaps.lua Normal file
View file

@ -0,0 +1,2 @@
vim.keymap.set('n', '<leader>sv', '<C-w>v', { desc = 'Open verticle split' })
vim.keymap.set('n', '<leader>sh', '<C-w>h', { desc = 'Open horizontal split' })

6
lua/custom/options.lua Normal file
View file

@ -0,0 +1,6 @@
local opt = vim.opt
opt.tabstop = 2
opt.shiftwidth = 2
opt.expandtab = true
opt.autoindent = true