Distraction free writing in Vim with Goyo

September 23, 2021

I can’t believe that I’ve forgotten to write about one of my most used Neovim plugin ever. The plugin I’m talking about is called Goyo.

It adds a distraction free mode that helps me focus on my writing by centering the content and hiding all other elements.

Neovim in fullscreen with Goyo activated.


Toggle Goyo:


Turn on and resize Goyo to the dimension 100x50:

:Goyo 100x50

Turn off Goyo:


I have bound the toggle feature to the key <Leader>g:

map <Leader>g :Goyo<CR>

My configuration changes

The plugin works just fine as is, but I did change the text area to 100x50 (as seen in the example image above), as I find that to be a better fit for me.

This is the settings that I added to my configuration file:

let g:goyo_width=100
let g:goyo_height=50


No Comments

Use the e-mail form, if you wish to leave feedback for this post. Markdown is supported. [Terms of service]