nvim-ks/lua/autocmd.lua

13 lines
308 B
Lua

-- [[ Setting autocmd's ]]
-- See `:help autocmd`
-- Instantly move help window to the right
-- This is almost certainly a hacky way to do this)
vim.api.nvim_create_autocmd('FileType', {
pattern = { 'help' },
callback = function()
vim.schedule(function()
vim.cmd 'wincmd L'
end)
end,
})