diff --git a/init.lua b/init.lua index 6c7a701..6637500 100644 --- a/init.lua +++ b/init.lua @@ -67,3 +67,7 @@ vim.api.nvim_set_keymap('n', '', '5-', { silent = true }) vim.api.nvim_set_keymap('n', '', '10>', { silent = true }) vim.api.nvim_set_keymap('n', '', '10<', { silent = true }) +-- Set the tab width to 4 spaces +vim.cmd('set tabstop=4') +vim.cmd('set shiftwidth=4') +vim.cmd('set expandtab')