parent
330909bdf1
commit
0d4551a2d4
|
@ -36,14 +36,11 @@ vim.api.nvim_create_user_command('Ht', 'tab help <args>', {
|
|||
nargs = 1, complete = 'help'
|
||||
})
|
||||
|
||||
-- always split vertically if there is enough space
|
||||
vim.g.autosplit_bt = nil -- not needed, since we use it on every split
|
||||
vim.g.autosplit_ft = nil
|
||||
vim.api.nvim_create_augroup('config_settings', { clear = true })
|
||||
vim.api.nvim_create_autocmd({ 'WinNew' }, {
|
||||
group = 'config_settings',
|
||||
callback = require('autosplit')
|
||||
})
|
||||
-- split these vertically if there is enough space
|
||||
vim.g.autosplit_bt = { 'help', 'terminal' }
|
||||
vim.g.autosplit_ft = {
|
||||
'man', 'fugitive', 'gitcommit', 'gitrebase', 'NeogitCommitMessage'
|
||||
}
|
||||
|
||||
-- theme
|
||||
vim.o.termguicolors = true -- 24 bit colours
|
||||
|
|
Loading…
Reference in New Issue