-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3 Airlines bars #238
Comments
how to fix it ? I have the same problemw |
My solution: lua << EOF function! s:goyo_enter()
set noshowmode
set noshowcmd
set scrolloff=999
colorscheme srcery
Limelight 0.5
lua << EOF
require('lualine').hide()
EOF
" ...
endfunction
|
For those of us using return {
{
"junegunn/goyo.vim",
keys = {
{ "<leader>G", ":Goyo<CR>", desc = "Toggle Goyo" },
},
config = function()
vim.api.nvim_create_autocmd("User", {
pattern = "GoyoEnter",
callback = function()
vim.opt.showmode = false
vim.opt.showcmd = false
vim.opt.scrolloff = 999
require("lualine").hide()
end,
})
vim.api.nvim_create_autocmd("User", {
pattern = "GoyoLeave",
callback = function()
vim.opt.showmode = true
vim.opt.showcmd = true
vim.opt.scrolloff = 5
require("lualine").hide({ unhide = true })
end,
})
end,
},
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I go into Goyo mode with this...
:Goyo | :AirlineToggle
I see 3 Airlines bars
The text was updated successfully, but these errors were encountered: